Navigation not looking right
Permalink
http://www.habugfx.com/
My navigation isnt looking right, when u hover over the other links a image of half my nav button appears over the home link. Also I would like to add an active link button like how I was able to on my HTML version (Pretty much looks like ur hovering over the link but ur not over it)
Any help would be awesome.
My navigation isnt looking right, when u hover over the other links a image of half my nav button appears over the home link. Also I would like to add an active link button like how I was able to on my HTML version (Pretty much looks like ur hovering over the link but ur not over it)
Any help would be awesome.
where do i add that, in the css or somewhere else?
add the php code in your site template (default.php) instead of
and add the css code in the css file. might want to style it like #menu a:hover, #menu .active a
<?php $a = new Area('Header Nav'); $a->display($c); ?>
and add the css code in the css file. might want to style it like #menu a:hover, #menu .active a
No no i got that one but i mean the padding between topics where would i add the padding
Nevermind got it fixed. Another question I have is does C5 have IPB integration?
no it does not,
make sure your template is set up to not repeat image on hover over. don't have much else for that. for the active link though, you can use this code and this in the css youll have to adjust the css a little, but not a ton.
<div id="menu"> <?php $ah = new Area('Header Nav'); ob_start(); $ah->display($c); $printed = ob_get_contents(); ob_end_clean(); $printed = str_replace('<li class="nav-selected', '<li class="active', $printed); print $printed; ?> </div>
#menu .active a { background: #FFFFFF; color: #110404; }
Your nav needs some padding between topics. Just slowly adjust them. Save and reload...Save and reload.
Otherwise, coming along quite nicely.
Bill