WordPress.org

Forums

Twenty-Ten Theme - Header extending over container (3 posts)

  1. meoop
    Member
    Posted 2 years ago #

    First I had a white gap at the top of the header. I fixed the gap by taking out the top space in the #brandingimg, but now I have the header sticking out over the container/main content area. Changing the margin and the width has not helped. Any ideas? http://encinitaslibfriends.org/wp/
    Thank you for any help you can provide

  2. afzaal1985
    Member
    Posted 2 years ago #

    Hi,

    Your page content has a width of 920px where as your image has a width of 940px. You can fix this problem by reducing the image width and uploading it at a width of 920px.

    Alternatively, you can control this with code by adding the following to your childtheme style sheet:

    #branding img {
    max-width: 100%;
    }

    Also change line 389 in your style.css file from 940px to 920px. Did you change this yourself initially?

    Let me know if you need anymore help.

    Afzaal

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    Do not edit the Twenty Ten theme. First create a child theme for your changes. Or install a custom CSS plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic