• Resolved TitusGitari

    (@cocosugar)


    Hello, I’d like to know how to remove this thick black bar here, what’s the CSS code I’ve tried finding it in the core template file but I can’t find it.

    Screen Shot 2022-03-20 at 10.35.34 PM.png

Viewing 1 replies (of 1 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @cocosugar

    You can use the code snippet below:

    add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 );
    function wpo_wcpdf_custom_styles ( $document_type, $document ) {
        ?>
        .order-details thead th {
            color: black; /* this is the text color of the header row */
            background-color: white;
            border: 0 0 2pt 0;
            border-color: black;
        }
        <?php
    }

    If you haven’t worked with actions/filters before please refer this documentation page: How to use filters

Viewing 1 replies (of 1 total)
  • The topic ‘Customizing Top Black Bar in Invoice and Packaging Slip’ is closed to new replies.