Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: wynnyelle - marraskuu 04, 2011, 10:54:56 IP

Otsikko: Trying to remove a gap on my home page
Kirjoitti: wynnyelle - marraskuu 04, 2011, 10:54:56 IP
The gap can be seen below our logo/main menu, but above the twin pair of tables, here. (http://warriorcatsrpg.com)

I know it is not on the style sheet. We traced it to two <br> breaks on the page, but the CSS style sheet does not contain these breaks. What file do I need to go to to find these breaks and remove one or do something to lower the size of this gap?

The gap under the tables is also too big, if it comes to that.

Thanks to anyone who can help.
Otsikko: Re: Trying to remove a gap on my home page
Kirjoitti: mashby - marraskuu 04, 2011, 11:09:03 IP
<br />s are not included in the CSS. They are likely in the index.template.php of the theme of your site. Have a look in there. Looks like it is right before where this is declared:
<div class="pnl">
Otsikko: Re: Trying to remove a gap on my home page
Kirjoitti: Sir Osis of Liver - marraskuu 04, 2011, 11:17:33 IP
index.template.php, just below template_menu();.

Unusual header layout, but the two tables should be below template_menu();, and the lower gap would be below the tables and above theme_linktree();, which may be called something else in your theme.

Otsikko: Re: Trying to remove a gap on my home page
Kirjoitti: wynnyelle - marraskuu 06, 2011, 02:54:11 IP
I found it and removed it, and also removed the gap further down. Thanks guys!!!