SHARE
TWEET

header menu dropdown fix for wp 3.3

prasannasp Jul 27th, 2012 35 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*-----This is common for all menus-------*/
  2. #header-menu > li.menu-item-ancestor > a {
  3.         background: url(images/sprite_master.png) -877px -236px no-repeat transparent;
  4.         padding-left: 26px;
  5. }
  6. /*-----------end of common--------*/
  7.  
  8.  
  9. /*----------------------Local Projects Menu----------------*/
  10. #header-menu > li.menu-item-437.current-menu-item {
  11.         background: url(images/sprite_h.png) left -3px repeat-x #101010;
  12. }
  13.  
  14. #header-menu > li.menu-item-437.current-menu-item > a {
  15.         color: #fff;
  16. }
  17.  
  18.  
  19. #header-menu > li.menu-item-437.current-menu-item:hover {
  20.         background: url(images/sprite_h.png) left -100px repeat-x #eee;
  21. }
  22.  
  23. #header-menu > li.menu-item-437.current-menu-item:hover > a {
  24.         color: #000;
  25. }
  26. /*--------------------End of Local Projects Menu---------------------*/
  27.  
  28.  
  29.  
  30. /*-------------------------Connect menu-------------------*/
  31. #header-menu > li.menu-item-2276.current-menu-item {
  32.         background: url(images/sprite_h.png) left -3px repeat-x #101010;
  33. }
  34.  
  35. #header-menu > li.menu-item-2276.current-menu-item > a {
  36.         color: #fff;
  37. }
  38.  
  39.  
  40. #header-menu > li.menu-item-2276.current-menu-item:hover {
  41.         background: url(images/sprite_h.png) left -100px repeat-x #eee;
  42. }
  43.  
  44. #header-menu > li.menu-item-2276.current-menu-item:hover > a {
  45.         color: #000;
  46. }
  47. /*-------------------------End of Connect menu-------------------*/
  48.  
  49.  
  50.  
  51.  
  52. /*------------------------Events menu------------*/
  53. #header-menu > li.menu-item-2101.current-menu-item {
  54.         background: url(images/sprite_h.png) left -3px repeat-x #101010;
  55. }
  56.  
  57. #header-menu > li.menu-item-2101.current-menu-item > a {
  58.         color: #fff;
  59. }
  60.  
  61.  
  62. #header-menu > li.menu-item-2101.current-menu-item:hover {
  63.         background: url(images/sprite_h.png) left -100px repeat-x #eee;
  64. }
  65.  
  66. #header-menu > li.menu-item-2101.current-menu-item:hover > a {
  67.         color: #000;
  68. }
  69. /*------------------------End of Events menu------------*/
  70.  
  71.  
  72.  
  73.  
  74.  
  75. /*----------------Financial Opportunities menu------------*/
  76. #header-menu > li.menu-item-2275.current-menu-item {
  77.         background: url(images/sprite_h.png) left -3px repeat-x #101010;
  78. }
  79.  
  80. #header-menu > li.menu-item-2275.current-menu-item > a {
  81.         color: #fff;
  82. }
  83.  
  84.  
  85. #header-menu > li.menu-item-2275.current-menu-item:hover {
  86.         background: url(images/sprite_h.png) left -100px repeat-x #eee;
  87. }
  88.  
  89. #header-menu > li.menu-item-2275.current-menu-item:hover > a {
  90.         color: #000;
  91. }
  92. /*------------------------End of Financial Opportunities menu------------*/
  93.  
  94.  
  95.  
  96. /*----------------News menu------------*/
  97. #header-menu > li.menu-item-2018.current-menu-item {
  98.         background: url(images/sprite_h.png) left -3px repeat-x #101010;
  99. }
  100.  
  101. #header-menu > li.menu-item-2018.current-menu-item > a {
  102.         color: #fff;
  103. }
  104.  
  105.  
  106. #header-menu > li.menu-item-2018.current-menu-item:hover {
  107.         background: url(images/sprite_h.png) left -100px repeat-x #eee;
  108. }
  109.  
  110. #header-menu > li.menu-item-2018.current-menu-item:hover > a {
  111.         color: #000;
  112. }
  113. /*------------------------End of News menu------------*/
  114.  
  115.  
  116.  
  117.  
  118. /*----------------Learn menu------------*/
  119. #header-menu > li.menu-item-1966.current-menu-item {
  120.         background: url(images/sprite_h.png) left -3px repeat-x #101010;
  121. }
  122.  
  123. #header-menu > li.menu-item-1966.current-menu-item > a {
  124.         color: #fff;
  125. }
  126.  
  127.  
  128. #header-menu > li.menu-item-1966.current-menu-item:hover {
  129.         background: url(images/sprite_h.png) left -100px repeat-x #eee;
  130. }
  131.  
  132. #header-menu > li.menu-item-1966.current-menu-item:hover > a {
  133.         color: #000;
  134. }
  135. /*------------------------End of Learn menu------------*/
  136.  
  137.  
  138.  
  139.  
  140.  
  141. /*----------------Contact Us menu------------*/
  142. #header-menu > li.menu-item-1960.current-menu-item {
  143.         background: url(images/sprite_h.png) left -3px repeat-x #101010;
  144. }
  145.  
  146. #header-menu > li.menu-item-1960.current-menu-item > a {
  147.         color: #fff;
  148. }
  149.  
  150.  
  151. #header-menu > li.menu-item-1960.current-menu-item:hover {
  152.         background: url(images/sprite_h.png) left -100px repeat-x #eee;
  153. }
  154.  
  155. #header-menu > li.menu-item-1960.current-menu-item:hover > a {
  156.         color: #000;
  157. }
  158. /*------------------------Contact Us menu------------*/
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top