WordPress.org

Forums

[resolved] Removing space between header and body (6 posts)

  1. priyaprabhakar
    Member
    Posted 11 months ago #

    There is a huge space between my header and the body of my page. I'm using a plugin that removes the constant page title, but the space is still there. How do I remove it?

    Here's the website: http://www.virginievlaminck.com/biography/

  2. DesignsByTrey
    Member
    Posted 11 months ago #

    This is because the top padding assigned to the element. This should take care of it.

    .single .hentry, .error404 .hentry, .page .hentry, .search-no-results .no-results {
      padding: 0 50px;
    }

    Just add this to your custom css.

    This will take away the padding at the top and push the content up for you.

    Cheers!
    [sig moderated as per the Forum Rules]

  3. priyaprabhakar
    Member
    Posted 11 months ago #

    Where exactly? style.css, editor-style.css, or rtl.css?

    Thank you!

  4. DesignsByTrey
    Member
    Posted 11 months ago #

    You would either create a child theme or use a plugin such as simple custom CSS. And add this code there.

    Cheers!

  5. priyaprabhakar
    Member
    Posted 11 months ago #

    Thank you so much. That worked.

    I appreciate your help.

  6. DesignsByTrey
    Member
    Posted 11 months ago #

    My pleasure! Please mark this thread as "resolved" so that others know. Thank you.

    Onwards and upwards,
    -Trey

Reply

You must log in to post.

About this Topic