[Resolved] Unwanted Space

Home Forums Support [Resolved] Unwanted Space

Home Forums Support Unwanted Space

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #89894
    Graham Leatherbarrow

    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.

    #90074
    Tom
    Lead Developer
    Lead Developer

    Try this CSS:

    .home .entry-content {
          margin-top: 0;
    }
    #90282
    Graham Leatherbarrow

    Hi Tom,

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

    Graham.

    #90338
    Tom
    Lead Developer
    Lead Developer

    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.

    #90491
    Graham Leatherbarrow

    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.

    #90680
    Tom
    Lead Developer
    Lead Developer

    Glad I could help! 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.