Add Expandable Submenu Items to Main Menu in the Tablet Version of the Website
-
In the tablet version, I want the submenu parts of the main menu items to show up on hover. How do I go about it?
Currently all the submenu items show up in the tablet version. This gives the main menu a very busy, cluttered look.
Many forums suggest using the following code:
‘.nav-menu li > a:after {
color: #444;
content: ‘ ?’;
}.nav-menu li > a:only-child:after {
content: ”;
}’But this doesn’t seem to work. Where do I include this code? Or any other alternative code.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add Expandable Submenu Items to Main Menu in the Tablet Version of the Website’ is closed to new replies.