Remove breadcrumbs
Permalink Browser Info Environment
First - thanks for this addon; does what I need.
I've been unable to remove the breadcrumbs from the converted to pdf documents.
You can see a page here
http://allfrom1supply.net/index.php?cID=120...
I tried adding .swp-breadcrumbs {display: none} to mpdf.css and to the Simplicity theme's print.css but that doesn't do it. Any help appreciated.
<div class="swp-breadcrumbs">
<a href="/">All From 1 Supply</a>
<span class="swp-breadcrumbs-level"> <span class="delim">></span> <a href="http://allfrom1supply.net/categories/">Browse</a></span></div>
I've been unable to remove the breadcrumbs from the converted to pdf documents.
You can see a page here
http://allfrom1supply.net/index.php?cID=120...
I tried adding .swp-breadcrumbs {display: none} to mpdf.css and to the Simplicity theme's print.css but that doesn't do it. Any help appreciated.
<div class="swp-breadcrumbs">
<a href="/">All From 1 Supply</a>
<span class="swp-breadcrumbs-level"> <span class="delim">></span> <a href="http://allfrom1supply.net/categories/">Browse</a></span></div>
Type: | Discussion |
---|---|
Status: | New |
Hello thanks for the comments, yeah I literally capture whatever is rendered to that area before it hits the screen, and dump that to PDF. It's really basic, so it's going to grab anything there. I will make this smarter when time permits.
Ah, so those css files aren't actually used? Ok. I don't expect you to do more for this since it is a freebie. It actually works well. If making it smarter (recognize all that css) is a pain then maybe a simple solution would be to add some sort of 'ignore tags' that it avoids when rendering to pdf. Google does something like this for AdSense ...
<!-- google_ad_section_start(weight=ignore) -->
This would be used to surround the content you want to ignore.
<!-- google_ad_section_end -->
...random thought anyway as I am not a programmer.
<!-- google_ad_section_start(weight=ignore) -->
This would be used to surround the content you want to ignore.
<!-- google_ad_section_end -->
...random thought anyway as I am not a programmer.
That's clever, I like it. I think if I invest the time in an update though I'd prob do it by the book :). Take care and thanks for using, and your suggestion! -J