Forums

[resolved] Theme CSS: page content (3 posts)

  1. figgins
    Member
    Posted 4 months ago #

    I've been trying forever to find which style to edit to remove the space between the top nav menu and the page content.

    http://test.quellesource.com/about

    You can see the empty space below the menu and above the page title "About". My best guess is that it belongs to some padding in an <article> tag, but that could be wrong and I am stumped. Does anyone have an idea to help?

  2. dkotter
    Member
    Posted 4 months ago #

    The margin is being added to the top of the article. To fix that, you'll need to change this line which is around line 2201 in you style.css file:

    .singular.page .hentry {
       padding: 3.5em 0 0;
    }

    Change that to whatever you want the top padding to be. If you don't want any, then change it to this:

    .singular.page .hentry {
       padding: 0 0 0;
    }
  3. figgins
    Member
    Posted 4 months ago #

    Bingo. Thanks.

Reply

You must log in to post.

About this Topic

Tags