[resolved] I've hidden the Page Title, but want to 'lose' the gap left (3 posts)

  1. alanrogers
    Posted 3 years ago #

    I've used the following css to hide my Home Page title - the rest of the page titles I wanted to keep

    #post-80 .entry-title {display: none; }

    This worked perfectly, but I have a space or a gap where the text 'was'. This means my first piece of content starts 30 - 40 px down from the top of the sidebar column and looks odd.


    Is there anyway to 'lose' this space with css, or does it need php? If it's php what would it be?

    Many thanks

  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    Part of it is from the margin here:

    .entry-content {
        clear: both;
        font-size: 16px;
        margin-top: 35px;

    Try adding this:

    #post-80 .entry-content {
        margin-top: -30px;
  3. alanrogers
    Posted 3 years ago #

    WOW! What an amazingly quick response.

    That was it - thank you so much.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.