Forums

[resolved] Space between header and menu (wrapper?) (6 posts)

  1. stills8
    Member
    Posted 1 year ago #

    I'm trying to get rid of this small problem but somehow I don't manage to.

    There's a small space between my header and the menu which I can't seem to remove. I tried everything, removed the padding, the margins and reduced the wrapper as far as I'm concerned. Nothing seems to help.

    Right now I made the space in between red, by changing the background-color of the wrapper. So it probably is the wrapper. Does anybody have an answer to this?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Don't edit the Twenty Ten theme. Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

    Once your new child theme is in place, we should be able to help you with any theme customisations.

  3. stills8
    Member
    Posted 1 year ago #

    I think I installed the child theme right now, did nothing more than copy the php files I changed in twenty-ten to the new child folder. That would be sufficient right?

    Anybody have an answer to the question above right now?

    http://stillstile.com/ikcliphet

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Looks good to me. :-) Try adding:

    #masthead {line-height:0;}

    to your child theme's style.css file.

  5. stills8
    Member
    Posted 1 year ago #

    Super, thank you.

    Just a question, was the line-height already pre-installed somewhere then? Just trying to understand for a next time.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    The parent theme sets a line-height of 18px on most page elements.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.