WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Off-Topic »
  • ShowMenu2 Childeren page CSS problem
  • Print
Pages: [1]   Go Down

Author Topic: ShowMenu2 Childeren page CSS problem  (Read 5474 times)

Offline Briefcase

  • Posts: 13
ShowMenu2 Childeren page CSS problem
« on: September 18, 2008, 12:42:40 PM »
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

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: ShowMenu2 Childeren page CSS problem
« Reply #1 on: September 18, 2008, 02:22:00 PM »
If you have it online and give us a link to look at, we might be able to help.

Ruud
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline Briefcase

  • Posts: 13
Re: ShowMenu2 Childeren page CSS problem
« Reply #2 on: September 18, 2008, 02: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

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: ShowMenu2 Childeren page CSS problem
« Reply #3 on: September 18, 2008, 02:49:14 PM »
The defaul;t styling is done on the a.menu-sibling class

Code: [Select]
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: [Select]
.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
Dev4me - WebsiteBaker modules - WBhelp.org

Offline Briefcase

  • Posts: 13
Re: ShowMenu2 Childeren page CSS problem
« Reply #4 on: September 18, 2008, 02:50:53 PM »
thanks, I'll dig into it the coming days.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Off-Topic »
  • ShowMenu2 Childeren page CSS problem
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2