Support » Theme: Hemingway » Remove whitespace just under the header

  • Resolved trumad

    (@trumad)


    Thank you for such a wonderful theme. It looks like you respond to support questions really quickly. So thanks for being such a good guy too 🙂

    Basically, I have a website with mostly static pages. No blog posts. I have removed the titles from each page, using a “hide titles” plugin, since the title is bold in the top navigation menu.

    But to my eye, there’s just a little bit too much white space between the header and the main content. I really struggle with css. Would you mind telling me which bit I need to edit in the stylesheet to remove/reduce the whitespace under the header?

    Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I didn’t understand your question completely. But I think you are referring white space under the navigation bar and the title on any page.

    By default it is 100px and defined in css for .wrapper class like this:

    .wrapper {
    margin-top: 100px;
    }
    search for .wrapper and tweak the margin value as per your need.
    But I strongly suggest to leave the original css stylesheet untouched and add your styling in separate css sheet which will override the respective default styles.

    You need a plugin which lets you write your own css on top of the default. For me it came with a lot of other stuff when I installed a plugin called ‘jetpack'(there will be others too).

    So install Jetpack. Go to appearance -> edit CSS and paste the following code:

    .wrapper {
    margin-top: 100px;
    }
    change the value from 100px to whatever you want and preview and save the stylesheet.

    Thread Starter trumad

    (@trumad)

    Beautiful, this did exactly what I wanted. Thank you so much!

    I got the same problem, Thank you very much, Polymathpunk.

    Hi polymathpunk,

    I tried this and it doesn’t seem to help on my site

    Any suggestions?

    The site is http://www.msrsecurity.co.za

    The home page doesn’t bother me so much as the other page like Guarding, Armed Response and Products

    Advice will be appreciated

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove whitespace just under the header’ is closed to new replies.