Yashnaverma (Talk | contribs) |
Yashnaverma (Talk | contribs) |
||
Line 124: | Line 124: | ||
} | } | ||
<!-- this is the dropdown code --> | <!-- this is the dropdown code --> | ||
+ | |||
.dropdown { | .dropdown { | ||
+ | z-index: 9999; | ||
+ | |||
+ | } | ||
+ | |||
+ | #wnm-top-nav ul { | ||
+ | margin: 0 0 0 0; | ||
+ | } | ||
+ | #wnm-top-nav li { | ||
+ | margin: 0 0 0 0; | ||
+ | } | ||
+ | |||
+ | #wnm-top-nav li { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | #wnm-top-nav li:hover { | ||
+ | background: #ECECEC; | ||
+ | } | ||
+ | #wnm-top-nav li:hover ul { | ||
+ | display: block; | ||
+ | } | ||
+ | #wnm-top-nav li ul { | ||
+ | position: absolute; | ||
+ | width: 150px; | ||
+ | display: none; | ||
+ | font-size: 15px; | ||
+ | } | ||
+ | #wnm-top-nav li ul li { | ||
+ | background: #ECECEC; | ||
+ | display: block; | ||
+ | } | ||
+ | #wnm-top-nav li ul li a {display:block !important;} | ||
+ | #wnm-top-nav li ul li:hover {background: #E8E8E8;} | ||
+ | |||
+ | |||
+ | <!--.dropdown { | ||
<!--position: relative;--> | <!--position: relative;--> | ||
<!--display: inline-block;--> | <!--display: inline-block;--> | ||
Line 164: | Line 200: | ||
text-decoration: underline; | text-decoration: underline; | ||
color: black; | color: black; | ||
− | } | + | }--> |
</style> | </style> | ||
Revision as of 15:09, 12 July 2018