WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How to push header up? – Twenty Ten

[Resolved] How to push header up? – Twenty Ten

  • I deleted the title and tagline above the header because it wasn’t flush enough with the site. I thought the header would have popped back up, it did kinda did, but there’s still some space there.

    How do I get it to go up more? Where’s the code located that has the pixel count for it?

    Here’s the site: http://liveatwillowcreek.com/paintball/

Viewing 9 replies - 1 through 9 (of 9 total)
  • add this to your css file

    #site-description {display: none;}
    h1#site-title {display: none;}

    Also the header itself has some padding which you may or may not want, toggle the padding px till you get it right. (also add to css file)..

    #header {padding: 30px 0 0;}

    esmi

    @esmi

    Forum Moderator

    Don’t edit the Twenty Ten theme. Instead create a child theme for your changes.

    I don’t see the benefits of having a child theme especially when I’m making such a minor change?

    Lee, where should I add those in the css file?

    @twistedkeys

    If the theme gets an update in the future it will override any changes you make, maybe not a big deal for a small change but if you start making more minor changes you maybe in for a bit of a shock next time you let WordPress run some updates.

    ^JD

    Thanks James, though if a child theme takes more than 2 minutes to install and setup (if applicable) then it will be too much work compared to my small change(s).

    @twistedkeys

    Very true, it’s more a case of good practice / personal preference.

    All the best

    ^JD

    esmi

    @esmi

    Forum Moderator

    Sorry but that’s just not true. The next time you update your theme, all of your changes will be wiped out. Do the sensible thing – create a child theme.

    I’m still unsure as to where exactly I should place Lee’s code in the css file?

    Under layout…. I love you Lee. *Resolved*.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] How to push header up? – Twenty Ten’ is closed to new replies.
Skip to toolbar