Support » Plugin: WP Mobile Menu - The Mobile-Friendly Responsive Menu » Any way to style current (active) page in the menu?

  • Resolved yudayuda

    (@yudayuda)


    I would like the user to notice the current, active, page in the menu, so I need to style it differently.
    Usually there is some class like “active” / “current” that is attached to the current menu item, which allows us to achieve it. This usually goes together with “current-parent” for the parent element, so we can also style the parent differently.
    I couldn’t find anything like that in this plugin. Am I missing anything?
    Thanks a lot, also for a your plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    you would need to add some custom css for this.
    Unfortunately I wasn’t able to verify with your menu structure, but usually it should be sth like:

    .mobmenu-content li a:active {
    	color: /*your color*/;
    }

    Code goes into CustomCSS in theme customizer or in plugin additional css.

    Regards,

    -Björn

    Thread Starter yudayuda

    (@yudayuda)

    Thanks!

    Indeed this is how I solved it.

    Maybe you can add such a class in future versions.

    Plugin Author Rui Guerreiro

    (@takanakui)

    Thanks @gluecklichezwerge for the help.
    @yudayuda I’m glad it’s sorted.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.