• Resolved ahuei

    (@gas1123)


    I need to combine all address fields into one column
    Could you advise on how to write this code for the invoice?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ahuei

    (@gas1123)

    i also need removing the phone from where it is currently shown at the bottom

    thanks

    Plugin Author priyankajagtap

    (@priyankajagtap)

    Hi @gas1123,

    You can use the below filter named “wcdn_head” to make the CSS changes as per your requirements. Kindly add the below-provided custom code in the “functions.php” file of your currently active theme:

    /**
    * Add this code snippet in the functions.php file of your currently active theme.
    */
    function example_serif_font_and_large_addressss() {
    ?>
    <style>
    /* Override to stack addresses vertically */
    .billing-address, .shipping-address {
    width: 100% !important; /* Full width for vertical stacking */
    float: none !important; /* Remove float to stack vertically */
    margin-bottom: 1em; /* Add space between addresses */
    }
    </style>
    <?php
    }
    add_action( 'wcdn_head', 'example_serif_font_and_large_addressss', 20 );

    The output of this custom code will be displayed like: https://prnt.sc/vqg9eOayn8Zv in a single column.

    Please check at your end and let us know how it goes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.