• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

ShowMenu2 Childeren page CSS problem

Started by Briefcase, September 18, 2008, 12:42:40 PM  ( Read 8,049 times )

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


      Ruud

      The defaul;t styling is done on the a.menu-sibling class

      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
      .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

        Briefcase

        thanks, I'll dig into it the coming days.

          \n\n