Hide PPOM image
-
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)
-
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
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 8 years, 1 month ago by
darkallman.
-
This reply was modified 8 years, 1 month ago by
darkallman.
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!
Thx, I forgot about that settings, and here it’s easy to see/change the CSS.
Case closed!Fantastic, glad to hear that!
-
This reply was modified 8 years, 1 month ago by
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Hide PPOM image’ is closed to new replies.