PDA

View Full Version : navbits index & full height page


HWG
25 Jul 2010, 04:30
1. remove navbits on homepage, it's annoying

example: my site: http://eveo.org/vb/forumdisplay.php?f=16

2. page at full height (shadow continues all the way down, not page is cut halfway) example, my site:

http://eveo.org/vb/forumdisplay.php?f=16

How do I accomplish both of these simple tasks?

PinkMilk
25 Jul 2010, 21:50
Remove navbits:

Use a condition wrap navbits in this:
<if condition="THIS_SCRIPT != 'index'">

<!-- Navbit code here -->

</if>

This will remove the navbits from forumhome

Shadow:
Create an outer wrapper, in header template find:

<!-- content table -->

below that add:

<div id="shadow"><!-- Start: Shadow -->

In footer template find:
$ad_location[ad_footer_end]

above that add:
</div><!-- End: Shadow -->

In additional css add:
#shadow {
background:#fff url(path/to/shadow/image.gif) repeat-y top center;
width:??px;
margin:0 auto;
}