Site logo

Archived topic

Unwanted Space

5 replies · Started by Graham Leatherbarrow on March 22, 2015

Viewing posts 1–6 of 6

Hi Tom,

I seem to have developed a significant space between the main navigation bar and the slider on the home page:

http://www.isleofskyebedandbreakfast.com/wordpress/

Any idea how I can get rid of it?

Thanks,
Graham.

Try this CSS:

.home .entry-content {
      margin-top: 0;
}

Hi Tom,

For some reason the code doesn't seem to work?

Graham.

Hmm, you may have a mistake somewhere in your stylesheet - it doesn't look like the page is reading that CSS.

Try moving the above to the top of the stylesheet.

If that works, you'll want to look through your CSS for any syntax errors.

Tom,

Many thanks for suggesting to put the code at the top of the css file, it now works. Thank you more especially for pointing out the obvious (but not to me apparently) that the css syntax was up the creek! Currently checking, I thought it wasn't behaving as it should and now I know!

Graham.

Glad I could help! :)

This archived topic is closed to new replies.