• Hello,

    how can i set a custom class on mobile menu?

    that mean only a class on mobile, bcos i want other colors their.

    Or its only possbile in the pro version?

    thank u for u answer

Viewing 1 replies (of 1 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi hordor,

    The HTML output by your site is the same regardless of the width of the browser thats ‘looking’ at your site, so you can’t apply a class to just the mobile menu (the mobile menu is exactly the same as your desktop menu, it’s just styled differently with CSS depending on the width of your screeen).

    You’d need to write some CSS which changes the colors how you wish, then wrap them in a media query so that your CSS only applies to smaller screens:

    https://www.w3schools.com/css/css_rwd_mediaqueries.asp

    Regards,
    Tom

Viewing 1 replies (of 1 total)

The topic ‘Custom CSS class on Mobile’ is closed to new replies.