Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    This would be a lot easier if you didn’t disable right-clicks!

    This CSS is a start. Please disable the disable-right-click “feature” if you would like more assistance.

    .page-id-6561 div#top-bar-sticky-wrapper,
    .page-id-6561 footer#footer {
    display:none;
    }

    To add CSS:

    • If you are using WordPress 4.7 or later, use the “Additional CSS” option in the customizer.
    • If your theme has a custom CSS option, use that to add the CSS shown above.
    • If not, install the plugin Simple Custom CSS.

    Learn to use the Chrome Developer Tools to help you see and test changes to your CSS.

    Thread Starter Lucas Pool

    (@lrileypool)

    Thanks for getting back so quickly. I have enabled right clicking for now. That code doesn’t seem to be doing the trick. Please take another look if you can!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    .page-id-6561 div#top-bar-sticky-wrapper,
    .page-id-6561 footer#footer,
    .page-id-6561 header.main-bar.header-layout-left-logo,
    .page-id-6561 h1.page-title.title.title-large
    {
       display:none;
    }

    There’s no good way to get rid of the horizontal rule via CSS. You’ll need to talk to the developers of your theme about that.

    Thread Starter Lucas Pool

    (@lrileypool)

    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide header & footer for one page’ is closed to new replies.