Forums / Templates, Stylesheets, Page Layout / White Space between top banner & define_main_page

White Space between top banner & define_main_page

Started by carol2848 on 13 Feb 2012, 4:52 PM · Views: 1,220

Results 1 to 5 of 5
13 Feb 2012, 4:52 PM
#1
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

White Space between top banner & define_main_page

There is just a tad too much space between the top banner & the define_main_page on my site. I have searched for hours, and can't find an answer! Any clues? Site is here --
https://www.schoolebookstore.com

Thanks in advance.

13 Feb 2012, 6:45 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: White Space between top banner & define_main_page

.centerColumn, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
padding-left: 0.8em;
padding-right: 0.0em;
padding-top:1.5em; }

13 Feb 2012, 7:31 PM
#3
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

Re: White Space between top banner & define_main_page

Thanks! However, this fixes the white space ABOVE the banner. My white space is below the banner (above the define_main_page), which is not defined there. Appreciate it, tho.

13 Feb 2012, 8:30 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: White Space between top banner & define_main_page

Add to stylesheet.css:

#indexDefault.centerColumn {padding: 0 0 0 .8em;}

For future reference, install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

Some prefer Firebug, which does much the same thing.

(If you're using Firefox 4-10, you'll need to remap the editor shortcut, since Firefox has appropriated Ctrl-Shift-E for an internal function - I use Ctrl-Shift-Q.)

14 Feb 2012, 7:51 AM
#5
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

Re: White Space between top banner & define_main_page

That's it!! I have Firebug, but don't have the know-how to come up with this. Appreciate it!