Hi i have the following html code produced by wordpress menu now i am trying to style the whole ul sub-menu but i cant seem to be able to target that sub-menu ul can someone help out please
Are you messing with the page right now? Stuff seems to be changing.
Also, the menu isn’t even having anything appear on hover right now, even with the display:block value set on :). Set it back to the way it was (I presume the original had it visible on hover)
sorry yes i was try to see if i can pick up te sub menu i’ll leave as it is for now for a few mins if you figure how i can style the sub-menu would really appreciate the sub-menu appears when you click on it not on hover.
Option 2 is to unfloat the dropdowns <li>'s and anchors. Aka
.sub-menu li, .sub-menu li a{float:none!important;}
I added !important here for specificity, however you shouldn’t replicate that exactly. Find a way to add more specificity to it without using !important :). It’ll save maintenance nightmares down the road.