Viewing 8 replies - 1 through 8 (of 8 total)
  • Give this a shot in your child theme style.css

    #branding hgroup {
        display: none;
    }
    Thread Starter WPrap

    (@wprap)

    Thanks IT4Worship – unfortunately didn’t do anything

    using fireBug, the space that needs removing can be seen in green when: position cursor above the text (at the top of the content area)

    1. right click and choose Inspect Element (Q)
    2. inspect: article#page-xxx page type-page status-publish hentry (where xxx is a number depending on which menu item is chosen)

    on the right,
    .singular.page .hentry {
    padding: 3.5em 0px 0px;
    }
    if the padding is changed to 0em 0px 0px
    the space is removed … but when
    .singular.page .hentry {padding:0em 0px 0px;} is added to child style.css the space is not removed

    From what I can see in Firebug the following should work to remove the spacing. Let me know

    #site-title {
       padding: 0;
    }
    
    #site-description {
    padding: 0;
    }
    Thread Starter WPrap

    (@wprap)

    Thanks again … but … no joy

    I’m still ‘learning’ fireBug – if you have time would you explain how you arrived at your conclusion? Thank you.

    Sure, when I look at the banner top banner in firebug, I click on the inspect element and then highlight the area above the title graphic. When I do that I can see that there are two areas above the graphic. One for site-title and one for site-description. When I set the padding to 0 they both disappear. Now that I’m thinking about it, add display:none to the code I just sent and see if that works.

    I think its “safe” to do this since your site title is in the graphic already.

    You have some errors in your CSS file that are invalidating the CSS that comes after – missing a closing bracket here:

    .entry-content, .entry-summary {
        padding: 0;

    Just an FYI, after changing CSS, you sometimes have to do a force refresh of the browser (CTRL-F5) to load the new code.

    Thread Starter WPrap

    (@wprap)

    IT4Worship – I see – Thank you. My take is it’s not an ‘exact science’ … no hard/fast rules … more of an art.

    WRPyogi – thank you – I’m embarrassed … found another missing } too but fixing didn’t seem to make a diff

    MarkRH – thank you too – but, alas, it didn’t make a diff but it’s good to keep in mind and try before giving up.

    Also (and this is more of a ‘conspiracy thing’ – my hosting service is maybe suspect. At times they seem to have a hiccup.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Removing space above title using twentyeleven’ is closed to new replies.