Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 08:36:30 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155441 Posts in 21702 Topics by 7732 Members
Latest Member: Smacki
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: ShowMenu2 Childeren page CSS problem  (Read 1256 times)
Briefcase

Offline Offline

Posts: 3


« on: September 18, 2008, 11:42:40 AM »

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.
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2294



WWW
« Reply #1 on: September 18, 2008, 01:22:00 PM »

If you have it online and give us a link to look at, we might be able to help.

Ruud
Logged

Professional WebsiteBaker Solutions
Briefcase

Offline Offline

Posts: 3


« Reply #2 on: September 18, 2008, 01:32:20 PM »

the normal link: http://89.18.178.164/~vanwijnen/
The faulty page: http://89.18.178.164/~vanwijnen/pages/bedrijfsinformatie/openingstijden.php

cheers
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2294



WWW
« Reply #3 on: September 18, 2008, 01:49:14 PM »

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;
}

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;
}

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
Logged

Professional WebsiteBaker Solutions
Briefcase

Offline Offline

Posts: 3


« Reply #4 on: September 18, 2008, 01:50:53 PM »

thanks, I'll dig into it the coming days.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!