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
    Aug 2009
    Posts
    407
    Thanks
    119
    Thanked 0 Times in 0 Posts

    sub menu list alignment issue

    on this site please advise why, in the top nav bar, the two subcategories of Clients, do not appear vertically below Clients?

    It should look like:
    CLIENTS
    - Architects, Plumbers & Contractors
    - Homeowners

    but for some reason those two subcategories list items are overlapping.

    please advise. thanks in advance!

  • #2
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    you have cufon set to inline-block

    Code:
    cufon {
    display: inline!important;
    display: inline-block!important;
    position: relative!important;
    vertical-align: middle!important;
    font-size: 1px!important;
    line-height: 1px!important;
    }
    inline-block makes the cufons inline. try setting cufon to display: block; instead. and all the !importants are unnecessary they are used more for overriding certain styles (such as class overrides an id) or a simple symantec markup

    Code:
    cufon {
    display: block;
    }
    Last edited by Sammy12; 08-03-2011 at 03:44 AM.

  • #3
    Regular Coder
    Join Date
    Aug 2009
    Posts
    407
    Thanks
    119
    Thanked 0 Times in 0 Posts
    when i make that change it messes up all the other elements in the page that are titled cufon, of which there's a lot.

    also, when i do that the list items that i wanted to fix appear to be horizontally aligned instead of vertical.

    please advise. thanks.

  • #4
    Regular Coder
    Join Date
    Aug 2009
    Posts
    407
    Thanks
    119
    Thanked 0 Times in 0 Posts
    actually, this seems to work:

    Code:
    .jqueryslidemenu ul li ul li {
      clear: left;
    }


  •  

    Tags for this Thread

    Posting Permissions

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