I’ve set up the following CSS in the “Additional CSS” (I’ve tried in my Child style.css too) and it has no effect on removing the unnecessary elements.
I’ve also reviewed the other threads, the suggested video, and tried the print plugins which just add a button. All I want to do is remove these elements. Another customer provided this code in a different thread even saying it worked for him.
What needs to be adjusted? Thank you
@media print {
.x-masthead {display:none !important;}
.x-colophon {display:none !important;}
img {max-width:50% !important;}
.wp-caption {
border:0px !important;
text-align: left !important;
}
}