Forums

[resolved] How to delete top margin (7 posts)

  1. bchamp777
    Member
    Posted 1 year ago #

    How do I get rid of the space/margin above the header in the Twenty Ten theme?

    Thanks.

    Bill

  2. baszer
    Member
    Posted 1 year ago #

    set the margin to 0

  3. bchamp777
    Member
    Posted 1 year ago #

    But where? I've tried that. Wrapper, header, body, access menu, branding, branding image, etc. Exactly where please?

    Thanks so much!

    Bill

  4. govpatel
    Member
    Posted 1 year ago #

    post your url see what changes you made

  5. bchamp777
    Member
    Posted 1 year ago #

  6. govpatel
    Member
    Posted 1 year ago #

    It is coming from header title and description in your style.css

    look for this codes

    #site-title {
    float:left;
    font-size:30px;
    line-height:36px;
    margin:0 0 18px;
    width:700px;

    and

    #site-description {
    clear:right;
    float:right;
    font-style:italic;
    margin:0 0 18px;
    width:220px;

    Change 18px in margin to say 7px on both codes

    Bit advice I looked at your website and I do not see your title on top of browser that is because you have not put them in Settings General
    may be because you do not want it on top of header.

    On the codes above add
    display:none;

    and add your title in Settings General and description so that it shows on top of browser as that is one of thing search engine will be looking for to index your website

  7. bchamp777
    Member
    Posted 1 year ago #

    Fixed! I just changed the CSS for the wrapper to a top margin of -32px.

    Thanks.

    Bill

Topic Closed

This topic has been closed to new replies.

About this Topic