• Resolved hbee

    (@heatherbodlak)


    Hello

    I was wondering if there was a way to remove this area, so that I can have the image extend the full width of the header area. (see screenshot: https://ibb.co/tM7xNQFg

    Before updating the plugin, some versions ago, I could just put a period in the field for “Store Name” (Nombre de la tienda) and the image would extend all the way. (See this screenshot: https://ibb.co/HDV1q7bW

    Is there a way to achieve this? thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @heatherbodlak,

    You can hide the shop info block completely with the following code snippet:

    /**
    * PDF Invoices & Packing Slip for WooCommerce:
    * Añade estilos personalizados a los documentos PDF
    */
    add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
    ?>
    /* Oculta los datos de la tienda en la cabecera */
    td.shop-info {
    display: none;
    }
    <?php
    }, 10, 2 );

    If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use code snippets. We also have a blog post here that you may find helpful about adding custom code to your site.

    Please let me know whether it worked or not!

    Thread Starter hbee

    (@heatherbodlak)

    Yes! Thank you so much, it worked perfectly.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for confirming that it worked, @heatherbodlak!

    If you don’t mind and have the time, do you think you could leave us a review?

    Thanks in advance, and don’t hesitate to write again if you need more help!

    P.S.: We’re also happy to assist you in Spanish for any future inquiries: We speak Spanish as well! 😉

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.