Results 1 to 3 of 3

Thread: Ajax styling problem in Smooth Navigational Menu

  1. #1
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax styling problem in Smooth Navigational Menu

    1) Smooth Navigational Menu (v1.31)

    2) http://www.dynamicdrive.com/dynamici...smoothmenu.htm

    3) Describe problem:

    After having installed the script without a hitch (kudos on the very thorough installation instructions!) I've run into a little snag with regards to the font-size of the links in the top menu options.

    Looking at the code in the menu file the font-size should be set by class ddsmoothmenu in ddsmoothmenu.css

    Yet I can change the font-size to anything I want there but it does not show in the menu.

    Instead the font-size is set by the regular link style declaration in the site stylesheet.

    Now, I assume that is due to the div smoothmenu-ajax not being declared anywhere. I tried adding it to the regular stylesheet, and also to the ddsmoothmenu one. That doesn't seem to be it.

    As I cannot find any questions regarding this particular subject I think I am probably overlooking something quite obvious, but for the life of me I cannot figure out what.

    Any help would be really appreciated!

    Thanks in advance!

    The site can be found here: http://www.mediascape.nl/projecten/test/
    The menu file here: http://www.mediascape.nl/projecten/test/menu.htm
    Smoothmenu css: http://www.mediascape.nl/projecten/t...smoothmenu.css
    Regular css file: http://www.mediascape.nl/projecten/test/opmaak.css
    Last edited by Draxeiro; 01-09-2010 at 12:35 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Looks OK here, but to answer your question, this appears to be the spot to adjust the top level links (from your ddsmoothmenu.css file):

    Code:
    /*Top level menu link items style*/
    .ddsmoothmenu ul li a{
    display: block;
    color: #fff;
    padding: 8px 9px 8px 9px;
    text-decoration: none;
    font: bold 10px arial, helvetica, sans-serif;
    }
    However, since you've defined a:link, a:visited, etc. in your opmaak.css file, some browsers may require that these pseudo classes also be defined for the .ddsmoothmenu ul li a selector as well, at least wherever they differ from those in the more general definitions in your opmaak.css file.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    That did indeed to the trick. Thanks a million

    I guess I was put on the wrong footing by that smoothmenu-ajax div nowhere to be found in the css files. I had been experimenting adding the font declaration to various classes but had not tried it yet on the one you suggested.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •