• Resolved darkallman

    (@darkallman)


    Hi there, how would I hide the image from the PDF here via CSS?
    Can you help me out here?

    <dd class="variation-Lettertype"><table class="table table-bordered">
    <tbody><tr>
    <td><a href="https://i0.wp.com/www.domain.com/wp-content/uploads/2016/12/Arimo.jpg?ssl=1" class="lightbox" title="Arimo"><img class="img-thumbnail" style="width:75px" src="https://i0.wp.com/www.lievelabels.nl/wp-content/uploads/2016/12/Arimo.jpg?w=1100&ssl=1" title="Arimo" width="75" height="75"></a></td>
    <td>Arimo...</td>
    </tr>
    </tbody></table>
    </dd>
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ewout

    (@pomegranate)

    Pretty basic CSS, but here you go šŸ™‚

    
    dd .img-thumbnail { display: none !important; }
    

    if you want to hide the complete link:

    
    dd a.lightbox { display: none !important; }
    

    Hope that helps!

    Ewout

    Thread Starter darkallman

    (@darkallman)

    In hindsight… I should have been able to do that myself….

    Nevertheless… thanks anyway!

    Hmm… then this should work…. but it seems I still see the image in the PDF. Am I forgettings something?

    	public function wpo_wcpdf_custom_styles () {
    		?>
    		
    		dd a.lightbox { display: none !important; }
    
    		}
    		<?php
    	}
    • This reply was modified 3 years, 5 months ago by darkallman.
    • This reply was modified 3 years, 5 months ago by darkallman.
    Plugin Author Ewout

    (@pomegranate)

    I recommend checking this with the HTML output first, makes it easier to debug… It’s a bit difficult to help without access to the actual thing!

    Thread Starter darkallman

    (@darkallman)

    Thx, I forgot about that settings, and here it’s easy to see/change the CSS.
    Case closed!

    Plugin Author Ewout

    (@pomegranate)

    Fantastic, glad to hear that!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide PPOM image’ is closed to new replies.