Page MenuHomePhabricator

Hide banners when printed
Closed, ResolvedPublic

Description

Banners should not show up when printing an article. This appears to be an issue with inline banners e.g. desktop small. Simply adding .noprint didn't fix it.

Event Timeline

Pcoombe created this task.Feb 26 2018, 11:39 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 26 2018, 11:39 AM
jrobell added a subscriber: Johan.Feb 26 2018, 12:32 PM

Thank you @Pcoombe ! I added @Johan to this task as well I believe the noprint suggestion originally came from him. @Johan thanks for flagging this and let us know if you have other suggestions. :)

The internet suggested including the following:

@media print
{

.no-print, .no-print *
{
    display: none !important;
}

}

Pcoombe closed this task as Resolved.Feb 26 2018, 7:16 PM

Fixed by adding

@media print {
    .frb {
        display: none !important;
    }
}