• Resolved oberning

    (@oberning)


    Hi,

    I added a link to the shop info element, and it is showing with an underline, I tried to take it out with CSS but without success.

    Do you have a solution on how to take out the underline?

    Thank you,
    Olga

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

    (@alexmigf)

    Hello Olga,

    If it’s an invoice document you should use this code in your functions.php file:

    add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 );
    function wpo_wcpdf_custom_styles ( $document_type, $document ) {
        ?>
    	.invoice a {
    		text-decoration: none !important;
    	}
        <?php
    }

    If you never used actions or filters please see this documentation on “How to use filters“.

    The simplest way is using our Premium Templates extension and paste the code below in the custom styles field:

    .invoice a {
    		text-decoration: none !important;
    	}

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Do not underline links’ is closed to new replies.