• Resolved bethritchie

    (@bethritchie)


    Hi there

    I’m trying to get rid of the white space (navbar/ padding/ main nav) from the top of my page, which I am creating using Zerif Lite. I’m a bit of a noob although I have made all my CSS changes in a child theme so I’m not a total donut! But this particular issue is eluding me!

    my url is bethanyritchie.co.uk

    Any help would be much appreciated thank you!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just put this code in your themes css file

    #main-nav , .header {min-height:auto!important;}

    Thread Starter bethritchie

    (@bethritchie)

    Thank you so much, although just as you posted that I managed to fix it by adding this to css…

    #main-nav {display: none;}

    I don’t know if there is a right or wrong way but it seemed to work!

    Thanks again!!!

    No its not right in future if you have menu in header it will not show so its better to put above code in css.

    Thread Starter bethritchie

    (@bethritchie)

    Thanks for the advice, I’ve done as you suggested and it looks great, thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘White space above header’ is closed to new replies.