Ready to get started?Download WordPress


[resolved] Twenty Eleven: Removing Space btw. Page Title and Header (7 posts)

  1. Go Ko
    Posted 1 year ago #

    I want to reduce the space btw. header and page title.
    The site URL is http://www.nannyassis.com

    I tried, but wasn't successful with:

  2. mokah
    Posted 1 year ago #


    #branding img {
    margin-top: -20px;
  3. Go Ko
    Posted 1 year ago #

    Thanks Mokah,

    I pasted your code into the Style.css file, but it doesn't the space btw. page and header.

  4. mokah
    Posted 1 year ago #

    OK, try:

    #branding hgroup {
    margin: 0 7.6% -20px 7.6%; !important
  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @michael -- make sure that you are NOT editing any of twentyeleven files directly -- as you will lose all your changes when WP is updated and you really must have a clean copy of twentyeleven for troubleshooting purposes. Instead create and use a Child Theme or custom CSS plug-in.

    Once you have a child theme or custom CSS installed, try adding this CSS code to that new style.css file -- reduce the padding here:

    #site-title {
        padding: 3.65625em 0 0;

    EDIT -- just saw your other thread -- where you did get a custom CSS set up -- great! So try adding the above and changing the padding if you are still trying to reduce the space. Also always be sure to clear your browser (and any other) caches after making changes -- or they may not show up right away.

  6. Go Ko
    Posted 1 year ago #

    Thanks WPyogi, I hear you and will do so!

  7. BergHomes
    Posted 10 months ago #

    Have tried various snippets of code on child theme. Nothing seems to work. I need to reduce the whitespace after the header on my site http://www.cynosurecustomsigns.com. Any ideas much appreciated. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic