Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #398951

    Hi
    I can’t seem to target the background colour on the sub menu for the current page ie when you visit the page the sub menu should be permanently highlighted until you visit another page. At the moment it will only do this on hover.
    I’ve tried this

    .av-main-nav li.current-menu-item .avia-menu-text {
    display:block;
    width:100%;
    background: #efffc2;
    padding:4px;
    color: #719430;
    }

    (commented out on line 58) which does target it, but also puts a large block behind the active main top level menu. (which I don’t want to happen)
    Can you point me in the right direction or help?

    Thanks!
    Steve

    #398971

    Hi
    Don’t worry I figured it out – Here it is for anybody having the same issue`

    .header_color .sub-menu > li.current-menu-item > a,
    .header_color .sub-menu > li.current_page_item > a { background-color: #9ecf66 !important; color:#fff !important;}`

    Cheers

    Steve

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Enfold current-page active sub menu styling’ is closed to new replies.