• Resolved anemi09

    (@anemi09)


    Hi, I have a slight problem with the color definition of the plugin. The website is called http://www.docmaja.de. Your menu is on the side of the all pages (not home page) and I would like to have the current menu also blue (like hover effect). When I go on first level and define the blue color for ACTIVE it changes all first level menus.How can I change it so that only the page I am actually visiting turns blue but stays brown when not in use? I hope you understand what I mean? Thank you for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gabor

    (@nextendweb_gabor)

    Hi @anemi09!

    Our Accordion menu’s default theme only works that way, that the opened and the active elements have the same color, so that is why your first level items are blue, because you have it chosen, that they should be opened. You could change this, if you would open up this file:
    wp-content\plugins\nextend-accordion-menu\themes\default\default\style.less
    and around line 110:

    
                    &.opening,
                    &.opened,
                    &.active{
                        span.inner span,
                        a{
                            &,
                            span{
                                d: e(~"@{level@{index}font-active}");
                            }
                        }
                    }
    

    remove the opening and opened parts:

    
                    &.active{
                        span.inner span,
                        a{
                            &,
                            span{
                                d: e(~"@{level@{index}font-active}");
                            }
                        }
                    }
    

    and then only your active (and hover) menuitems will have that color.

    Thread Starter anemi09

    (@anemi09)

    Hi, Thank you very much. I am trying to change it but I can’t find the correct file. Can you tell me either the correct code I can use in custom css or can you tell me under plugins – nextend accordion menu – edit, in which plugin file I can find the code you are mentioning?
    Thanks a lot.

    Thread Starter anemi09

    (@anemi09)

    Ok, I found it in ftp and changed it but it did the trick! Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu Colors’ is closed to new replies.