WordPress.org

Support

Support » Themes and Templates » Unwanted gap between header and main content

Unwanted gap between header and main content

  • Hawkinsian
    Member

    @hawkinsian

    I’ve designed my first WordPress theme for a friend’s gardening business. It’s a simple site but here is the test version:

    http://www.purecommunication.co.uk/wp/

    I have a space between the header and the main content areas. The purple gap below the navigation and above the main content should not be there. All the pages are the same except the ‘Gallery of work’ pages. For some reason, the gap closes for these galleries.

    I’d be very grateful for any tips on how to fix this – if anyone can help? And even if you can’t help, thanks for reading.

    I’m happy to post any details of the coding and build here, just let me know what info you might need.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forbidden
    
    You don't have permission to access /wp/ on this server.
    Hawkinsian
    Member

    @hawkinsian

    Thanks Tim,
    Sorry if this sounds stoopid but I’m not sure what you mean. I don’t have permission to access /wp/?

    I have full admin access and I installed Worpdress on that server. I and others can view pages and access the login to WP okay.

    What permission do I need?

    i got the message 2 hours ago.
    just ignore it.

    try add this code to theme’s styles.css

    h4 {
        margin: 0;
    }

    Hawkinsian
    Member

    @hawkinsian

    OMG!!
    You fixed the homepage! That’s brilliant!

    However, it’s not changed all the pages. I’ll take a look and see if I can use your logic to fix these too.

    Thanks for taking time to offer some help on this.

    Hawkinsian
    Member

    @hawkinsian

    Fixed!
    Thanks Tim.

    You da bomb.

    Status changed to ‘resolved’

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unwanted gap between header and main content’ is closed to new replies.