WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Space between navbar & page contents (3 posts)

  1. LauraLW
    Member
    Posted 2 years ago #

    My goal though is to move the page contents upward some in the layout.

    (example of problem at my site)

    I've looked through the header.php, page.php, style.css, and my custom page templates, and I can't figure out how to adjust that space between the navbar and the page title/contents. I knew CSS pretty well a bunch of years ago, when it was a bit different, so I'm not even sure that I know what I'm looking for anymore. If you need to know, I'm using the Rotary theme by Fearless Flyer.

    I don't know if there's a way to just take a look at the source code and figure it out, but I'd be super glad if someone could! Thanks in advance.

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    in style.css:

    #header {height:170px; position:relative;}
    reduce the height;

    #main-content{ margin-top:25px; }
    reduce margin;

    #sidebar {min-height:685px; width:270px; background:url(images/sidebar.png) no-repeat top left; font-family:Arial, Helvetica, sans-serif; margin-top:25px;}

    reduce margin.

  3. LauraLW
    Member
    Posted 2 years ago #

    Thank you very much! I think I made the header height larger to make the first image fit correctly on the home page. So reducing the main-content margin to zero was perfect to fix the problem. Cheers!!

Topic Closed

This topic has been closed to new replies.

About this Topic