WordPress.org

Forums

[resolved] remove header and footer from one page of my website (7 posts)

  1. anyates25
    Member
    Posted 11 months ago #

    I want to remove the header and footer of this page:

    http://www.amberandsteph.com/creating-your-vision

    can someone please give me a code and file as well as where to put code in the file to do this?

    thanks

  2. esmi
    Forum Moderator
    Posted 11 months ago #

    What theme are you using? Where did you download it from?

  3. CrouchingBruin
    Member
    Posted 11 months ago #

    It's a child theme of TwentyThirteen.

    Add this to the bottom of your child theme's style.css file:

    .page-id-628 #masthead,
    .page-id-628 .site-footer {
       display: none;
    }
  4. anyates25
    Member
    Posted 11 months ago #

    Wow, thank you! Worked like a charm. I'm wondering though, is there anyway to leave the very bottom of the footer where it says the copyright Amber&Steph.... ??

    Thanks again

  5. anyates25
    Member
    Posted 11 months ago #

    The purple bar at the bottom

  6. CrouchingBruin
    Member
    Posted 11 months ago #

    Change the rule to look like this:

    .page-id-628 #masthead,
    .page-id-628 .site-footer div:nth-child(3)
    {
       display: none;
    }
  7. anyates25
    Member
    Posted 11 months ago #

    Genius. Worked great. Thank you!!

Reply

You must log in to post.

About this Topic