General Community > Off-Topic
ShowMenu2 Childeren page CSS problem
(1/1)
Briefcase:
the CSS properties of the menu is perfectly OK when displaying the normal page, but when a child page is added I'm loosing all of the CSS of the menu, the content of the page is displayed correctly.
Path to the CSS file is correct (must be otherwise it wouldn't show the content CSS) when checking the output.
Any bright ideas?
thanks.
Ruud:
If you have it online and give us a link to look at, we might be able to help.
Ruud
Briefcase:
the normal link: http://89.18.178.164/~vanwijnen/
The faulty page: http://89.18.178.164/~vanwijnen/pages/bedrijfsinformatie/openingstijden.php
cheers
Ruud:
The defaul;t styling is done on the a.menu-sibling class
--- Code: ---a.menu-sibling {
color:#FFFFFF;
display:inline;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:13px;
font-weight:bolder;
text-decoration:none;
}
--- End code ---
When you are in a submenu this class doesn't exist.
These settings should be in something like
--- Code: ---.menuwrapper a {
color:#FFFFFF;
display:inline;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:13px;
font-weight:bolder;
text-decoration:none;
}
--- End code ---
For the rest your menu is a very deep nested <font> <font> <font> structure.
I don't know what you did with the show_menus call, but it isn't good formed.
Tip. on my (Dutch) site (http://WebsiteBaker.allwww.nl/wb/posts/fouten-in-css-oplossen13.php) there are some tools described on how you can debug your css.
Using FF + FireBug it is very simple to see why your CSS didn't work.
Ruud
Briefcase:
thanks, I'll dig into it the coming days.
Navigation
[0] Message Index
Go to full version