Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • kozakos Friend
    #189776

    hello,

    is it possible to change the background color of main menu buttons ( each menu button different color).
    is it possible to do it with suffix class ?

    i found this thread for megamenu http://www.joomlart.com/forums/showthread.php?70339-Coloring-Mega-Menu-Different-color-for-each-item

    but i need for mainmenu

    Thank you

    Nazario A Friend
    #502811

    Hi kozakos,

    <blockquote>is it possible to change the background color of main menu buttons ( each menu button different color).
    is it possible to do it with suffix class ?</blockquote>

    Let’s say Yes. Pls do as follow:

    – Go to Backend >> Extensions >> Template Manager >> Your template >> Megamenu
    – Select a menu (in here, i changed for 2 menu: Home, Typography) >> Add Extra Class name as image: http://prntscr.com/1mhuqy (Home), http://prntscr.com/1mhv58 (Typography)
    – Open file: /templates/ja_mero/css/custom.css
    – Add this code:

    .navbar .nav > li.home > a{
    background:green !important;
    }
    .navbar .nav > li.typo > a{
    background:red !important;
    }

    This is result: http://prntscr.com/1mhw9j

    Hope this is clear and helpful to you.

    Regards,

    Nazario

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Nazario A 11 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum