WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Template - All CSS 2

<< < (8/9) > >>

gavjof:

--- Quote from: bgg on March 28, 2007, 06:42:14 AM ---Ok, one more problem: when I select a menu .. it is highlighted (current menu ) .. when I go to its submenu, the top menu is not highlighted !!

--- End quote ---

Yeah. I'm not sure how to go about doing this. The menu only has a class for current menu and thus you can control the appearance for the menu item for the current page. I'd ask on the thread about the show_menu2 to see if it is possible to control the format of the parent links to the child you're after.

The second site you showed is using Joomla CMS - which has also has a great add-on menu called exmenu (Extended Menu) which allows for similar control. Joomla is good, but not as easy or as fun to work with as wb IMO. :)

drinky:
Hey gav,

Great template! Thanks for sharing.  I've done a simple WB site for a local charity but was having a few problems with my header image displaying correctly in IE6. www.m4tm.com.au

I've tried tweaking everything in the css file but can figure out why the background image wont display to the correct height.

Works fine in IE7 and Firefox.  Would be grateful if you could advise a solution to this annoying little problem.


--- Code: ---#banner {
/*padding: 10px 20px 0px 20px;*/
                height: 120px;
background: #660099;
border: 1px solid #000;
background: url('/media/music.png') top left no-repeat;
                clear:both;
                display:block;

}
--- End code ---

Thanks
Brett

doc:
Hi,

have you already tried the following additional CSS formats? Some browsers are a bit picky if you swap parameters for the shorthand notation style (background). In addition try to set padding to 0px within the banner div.


--- Quote ---padding: 0px;
background: url('/media/musig.png') no-repeat top left fixed;

--- End quote ---

Regards Christian

gavjof:
Hi there is another reference to the #banner's height just underneath those lines:


--- Code: ---* html #banner {clear:both;height:70px;} /* ie6 misbehaves again */
--- End code ---
I must have put some padding in one of the boxes (and shouldn't have) and thus had to specify a separate height for ie6.

drinky:
Thanks guys,
It was that second reference to the banner height that fixed it for me.  You've saved my sanity!!

Thanks again for a great CSS template gav.

Cheers
Brett

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version