Results 1 to 4 of 4

Thread: Need help with font size and color in menu...

  1. #1
    Join Date
    Aug 2009
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Need help with font size and color in menu...

    1) Script Title: anylinkmenu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    3) Describe problem:

    I have edited the CSS to change the font in the menu to 8 pt red:

    Code:
    .anylinkmenu{
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    border: 1px solid black;
    border-bottom-width: 0;
    font-size: 8pt;
    font-family: Verdana, Arial, Helvetica, Sans-Serif; 
    color: #FF0000;
    line-height: 18px;
    z-index: 100; /* zIndex should be greater than that of shadow's below */
    background: #FFFFFF;
    width: 200px; /* default width for menu */
    }
    The html that call it is:

    Code:
    <p><a href="Stewardship.htm" class="menuanchorclass" rel="anylinkmenu1"><font CLASS="pageheader10">Stewardship Resources</font></a></p>
    However, the text is 12 point black bold, not 8 pt red. Nothing I do seems to make a difference. All other parameters effect the menu as expected. How do I edit the font size and color?

    Also, I have tried to figure a way to make a second layer of the menu...is this possible? If so, how?

    Thanks.

  2. #2
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Smile

    it's because your class name are not same as the class you name in the css file, you can change the class into <p class="anylinkmenu">.

    You can add as manual too <font size="12pt" colour="red">Your text here</font>

  3. #3
    Join Date
    Aug 2009
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Actually...the prob was I was editing the wrong CSS element. I fixed that. However, i am still in need of a second menu layer...is there a way to add a layer to the menu?

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    There's no easy way to add additional levels to this script unfortunately. I plan to eventually release an "anylink" style multi level menu. In the meantime, the closest thing on DD is probably All Levels Menu (which is a menu bar however).
    DD Admin

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
  •