How do I stop the catagories appearing across the page in NavMain but retain the navmain area showing at a pre defined depth I would like the area to remain so as I can use its background colour
How do I stop the catagories appearing across the page in NavMain but retain the navmain area showing at a pre defined depth I would like the area to remain so as I can use its background colour
In tpl_modules_categories_tabs.php you would need to disable the php
by commenting it outPHP Code:<?php for ($i=0, $n=sizeof($links_list); $i<$n; $i++) { ?>
<li><?php echo $links_list[$i];?></li>
<?php } ?>
then in the style sheet make sure that you set a height for the element navCatTabs so that it still appearsPHP Code:<?php /* for ($i=0, $n=sizeof($links_list); $i<$n; $i++) { ?>
<li><?php echo $links_list[$i];?></li>
<?php } */ ?>
div#navCatTabs{ height: 80px; }
Have you considered alternative ways to display a section of colour under the logo header.
Hacking the code is generally a "last resort" - it's often better to use inherent features.
Set Nav Cat tabs to off in admin.
I would suggest that "header_bg.jpg" is created in your desired colour, and is XXX pixels deeper than "logo.gif" (or logo.jpg, as the case may be.)
Set your header wrapper (in stylesheet.css) to be as deep as header_bg.jpg
You may also need to adjust the relevant defines in
includes/languages/english/header.php
( save any edits to this in: includes/languages/english/CUSTOM/header.php )
Many thanks