• Resolved LauraLW

    (@lauralw)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thread Starter LauraLW

    (@lauralw)

    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!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Space between navbar & page contents’ is closed to new replies.