WordPress.org

Ready to get started?Download WordPress

Forums

Hide Footer in Template (4 posts)

  1. Lizbit
    Member
    Posted 4 years ago #

    I am modifying a template that has a footer. I don't want the footer to show. Instead of deleting the html code that shows the footer, I'd like to just hide it, so I can use it down the road if I change my mind. My theme is "pixel" and the site is here.

    I'm thinking there is a <hide> tag?

    All help is appreciated. TIA.

  2. alchymyth
    The Sweeper & Moderator
    Posted 4 years ago #

    i think this is brutal,, but it works:
    the 'display:none' will do exactly what it says.
    change the '#morefoot' in your style.css.

    #morefoot {
    display:none;
      background: #000 url(images/bggrad.jpg) top left repeat-x;
      border: 1px solid #070707;
      padding: 15px;
      color: #dfdfdf;
      margin: 0 0 10px 0;
      }
  3. Joshuwar
    Member
    Posted 4 years ago #

    you could also just comment it out in the html-

    <!-- This bit of html won't be rendered by the browser -->

    And uncomment it later if you need...

  4. Lizbit
    Member
    Posted 4 years ago #

    Thanks for the help. The "display:none" was what i was looking for... but I like the "comment" solution as well. TY!!

Topic Closed

This topic has been closed to new replies.

About this Topic