WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Twenty Eleven: Removing Space btw. Page Title and Header

[Resolved] Twenty Eleven: Removing Space btw. Page Title and Header

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try:

    #branding img {
    margin-top: -20px;
    }
    Go Ko

    @michael_walzhotmailcom

    Thanks Mokah,

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

    OK, try:

    #branding hgroup {
    margin: 0 7.6% -20px 7.6%; !important
    }
    WPyogi

    @wpyogi

    Forum Moderator

    @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.

    Go Ko

    @michael_walzhotmailcom

    Thanks WPyogi, I hear you and will do so!

    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!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Twenty Eleven: Removing Space btw. Page Title and Header’ is closed to new replies.
Skip to toolbar