• I want to make a page open with no sidebars or just a blank page with the content on it. Is this possible? I want to have the viewer be able to print an application. Or is there another way to do this?

    Here is the page

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Add this to your child-theme stylesheet:

    @media print {
        #header, #secondary, #tertiary, #footer { display: none; }
    }

    If you want to keep the header and or footer when the page prints simply remove the #header and/or #footer and the corresponding commas.

    Thread Starter brio39

    (@brio39)

    Thanks,
    I use the code but the left sidebar is still showing up. Is there a way to get rid of that too?

    Thread Starter brio39

    (@brio39)

    Also, do you know if there is a way for the links in a post to be active when on the front page? You can click on them on the individual post page but not on the home page.

    Change your @media query to this.

    @media print {
        #header, #secondary, #secondary aside, #tertiary, #footer {
            display: none;
    }

    The menus work fine for me using Chrome & Firefox.

    Thread Starter brio39

    (@brio39)

    Perfect, thank you. The printing preview is working without sidebars now.

    But on the home page the click here for more information isn’t showing as a link. Only on the individual post page. That seems weird to me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘make a page with no sidebars for printing’ is closed to new replies.