Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jul 2008
    Posts
    108
    Thanks
    31
    Thanked 0 Times in 0 Posts

    nav sub menu styling problem

    please see url: http://www.crozetanimalwellnesscenter.com/

    The sub menu items under 'About Us'

    This is a SquareSpace site and this particular template's sub menu styles are no different than the main menu styles. All I want to do is make the submenu styles font size 2px smaller than the main menu (14px instead of 16 px) and add a bottom border to separate submenu items. Within squarespace's framework, I can't quite get it right. Any help is appreciated.

    Here is the code in question (from what I can gather from Firebug, and the style naming conventions are inconsistent, I know):

    Code:
    #navigationBottom {
      
    }
    
    
    .horizontalNavigationBar .module a {
        border-bottom: 1px solid #999999;
        color: #333333;
        font-family: Verdana,'Lucida Grande',Arial,sans-serif;
        font-size: 14px;
        font-weight: normal;
        letter-spacing: 0;
        padding: 2px 16px;
        text-align: left;
        text-decoration: none;
    }
    
    .horizontalNavigationBar .active-module a {
        border-bottom: 1px solid #999999;
        color: #333333;
        font-family: Verdana,'Lucida Grande',Arial,sans-serif;
        font-size: 14px;
        font-weight: normal;
        letter-spacing: 0;
        padding: 2px 16px;
        text-align: left;
        text-decoration: none;
    }
    
    .horizontalNavigationBar .module a:hover {
        border-bottom: 1px solid #999999;
        color: #3069A2;
        font-family: Verdana,'Lucida Grande',Arial,sans-serif;
        font-size: 14px;
        font-weight: normal;
        letter-spacing: 0;
        padding: 2px 16px;
        text-align: left;
        text-decoration: none;
    }*
    Thanks.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello johndove523,
    Those three dropped menu items are already in span tags, you could easily add a class to them and style them that way.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    johndove523 (01-26-2012)

  • #3
    Regular Coder
    Join Date
    Dec 2010
    Posts
    424
    Thanks
    22
    Thanked 56 Times in 56 Posts
    try something like this in your css


    Code:
    .horizontalNavigationBar ul li li a { font-size:14px; }

  • Users who have thanked aaronhockey_09 for this post:

    johndove523 (01-26-2012)

  • #4
    Regular Coder
    Join Date
    Jul 2008
    Posts
    108
    Thanks
    31
    Thanked 0 Times in 0 Posts
    Thanks guys!


  •  

    Posting Permissions

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