Dear support,
i want to optimize the print output without a plugin.
When i hit the browsers print button the color section background picture is hidden. Is there a way to print the background picture?
And is there a way to hide the hole top color section in the print view?
Thanks dondela
Dear support,
i created a print button on the linked page. This makes it easier to understand my problem:
1. I want to hide the top color section in the print.css
alternative:
2. I want to print the background picture in the print.css
Thanks dondela
Hi!
Please edit your color section element and give it a unique ID – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png and then add following code to your print.css file
#your-unique-id { display: none; }
Best regards,
Yigit
Hi Yigit,
i did that and wrote in my style.css the following css: But it still showing a white space of the top color section.
@media print {
#mySectionBanner {
display: none;
}
}
Dear support,
i gave the Print Button on top of the page a sevtionID “mydruckbutton” and do the following css to make it disappear in the print view.
But it still shows up? You have a hint for me?
@media print {
#mydruckbutton {
display: none;
}
}
Hi,
Please try changing your code to following one
@media print {
#mydruckbutton {
display: none !important;
}
}
Also, please make sure that you do not have any errors in your custom CSS
Best regards,
Yigit
Hi,
i added the !important but still no effect, hm…
Thanks for any help
Hi,
It is showing as a class, not a ID, so try this:
@media print {
.mydruckbutton {
display: none !important;
}
}
It worked in my test, Please clear your cache :)
Best regards,
Mike
Thank you Mike, great support :-)