display:block not working on sub-menu

Discussion in 'CSS' started by sixrfan, Sep 8, 2011.

  1. #1
    on this site when you hover over Events or Leagues in the top navigation bar, you'll see a dropdown menu. That menu is .sub-menu.

    I want the .sub-menu to show, even when not hovering over it, so that I can tinker with the CSS to get the widths correct so I added this css element to try and get it to appear:
    .sub-menu {display:block;}
    Code (markup):
    but for some reason, it's not appearing. how i get it to permanently appear, not just when i hover over it.

    please advise. thanks in advance!
     
    sixrfan, Sep 8, 2011 IP
  2. babushkyn

    babushkyn Member

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    2
    Trophy Points:
    26
    #2
    .sub-menu has left property set to -9999px, so it appears out of screen (it's line 586 in your CSS file).
     
    babushkyn, Sep 8, 2011 IP
  3. sixrfan

    sixrfan Well-Known Member

    Messages:
    354
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    i see. thank you!
     
    sixrfan, Sep 8, 2011 IP