ResolvedMobile-Menu highlight the main categories

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #32816
    albarex
    Participant

    Hello there,

    I am searching a way to edit the mobile menu so my main-categories are more highlighted like another color. Or maybe with an icon or something.
    Is there an option?

    main menu

    Thank you and best regards!

    #32822
    Althemist
    Keymaster

    No, there is no such option. The only way to achieve this would be with CSS and it should also be done manually for each and every link, using the menu item unique class, because those links are just standard 2-nd level links.

    #32837
    albarex
    Participant

    and.. sorry that i have to ask.. how do i do that?:-) thank you!

    #32847
    Althemist
    Keymaster

    As I already explained, you’d need to get the unique class for each menu item (category) and set custom CSS rule for it (e.g. define custom color)

    #32855
    albarex
    Participant

    I was trying to do this but I think my skills are not good enough for that.. Would you please be that kind and provide me a code I can copy and try? 🙂

    was trying to put this for example into my style.css:

    menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-34040 {
    	color: red;
    }
    #32856
    Althemist
    Keymaster

    You missed the dots before class names. Also it must be a bit more specific. This should work:

    ul#mobile-menu.menu li.menu-item-34040 a {
    	color: red;
    }
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for any item belonging to this account
AlThemist

AlThemist

sales 17199, followers 742
Login and Registration Log in · Register