WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
[resolved] Sidebar /Content print on different pages (4 posts)

  1. mickwarnes
    Member
    Posted 1 year ago #

    I created a sample page using the Sidebar/Content template and both the sidebar and the content print on different pages. The preview shows the same.
    I have tried IE, Firefox and Chrome as well as different printers but with the same result.
    Is it a simple CSS issue?
    Thanks in advance
    Mick

  2. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    Hi Mick,

    Print as in "printing the page"?

    Thanks,
    Emil

  3. mickwarnes
    Member
    Posted 1 year ago #

    Yes. For example, on the first page I get the header, navigation, sidebar and breadcrumbs in the positions they should be. Then page stops there. The second page shows the content in it's right position. I could just remove the sidebar from the CSS-print, but wondered why it doesn't all print altogether.
    BTW - the home page prints with all the elements in the correct place.
    Thanks
    Mick

  4. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    Hi Mick,

    No need and let me direct you to some great stuff.

    In your Child Theme, as well as the Parent Theme there's a @media print CSS at-rule which you can customize any way you like.

    Let's say that we're removing the sidebar from the print, this is what needs to be done:

    @media print {
    
        .widget-wrapper {
            display: none;
    }

    As far as half page display, I would guess it's the printer setup. Mine would show all by default. Also see.

    Thanks,
    Emil

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic