WordPress.org

Support

Support » Themes and Templates » Space before content

Space before content

  • Hello,

    I was irritated my page titles, that re-appeared every time, I posted a new page. Now I have this big white space between the title bar, and my content. Is to possible to reduce it? If so how? May you please provide me with detailed instructions.

    Thanks,
    Mo Sibiya

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    Can you post a link to the webpage with the issue?

    Thanks, for the quick respond. the link is edreporting.imbekotours.co.za

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Is this the space you’re referring to http://awesomescreenshot.com/0ffumc0a1 ?

    No it’s not. The space I’m talking about is between the black title bar and point where my content starts. I hope, I just made sense.

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    You can resolve this by adding clear: none; to your <div id="main">. Are you using a Child Theme or plugin that provides Custom CSS functionality?

    I’m not using a child theme or plugin. I’m just using the twenty eleven theme with a few tweaks in it.

    On which .php file will, I need to add or edit the code?

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Try the Jetpack plugin and use its Custom CSS feature to hold the following CSS;

    #main {
     clear: none;
    }

    I’ll check it out, thank you very much!

    This is the jet pack CSS, and I added the code at the end of the comment, but it doesn’t seem to work. Did I do it right or might have missed something.

    /*
    Welcome to Custom CSS!

    CSS (Cascading Style Sheets) is a kind of code that tells the browser how
    to render a web page. You may delete these comments and get started with
    your customizations.

    By default, your stylesheet will be loaded after the theme stylesheets,
    which means that your rules can take precedence and override the theme CSS
    rules. Just write here what you want to change, you don’t need to copy all
    your theme’s stylesheet content.
    */
    #main {
    clear: none;
    }

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    It made a change but you haven’t noticed it.

    But, I want to see the change, I need the space to close or is it because the page titles are still there, and they are just hidden? If, so. Do you know a way where I can completely remove the page titles?

    Oh! Another I was wondering if you know a way where I can change the font style of plugin namely “contact page”? Thanks again.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Space before content’ is closed to new replies.