Menu Item Image swap on current page

Hi there!

Can You tell me please, how can I assign an image from hover state to the current menu item?

Thanks!

Hi,

To achieve that, you can add the code below in Theme Options > CSS

.x-masthead .x-menu-inline>li.current-menu-item .x-graphic-primary {
   opacity:0 !important;
}

.x-masthead .x-menu-inline>li.current-menu-item .x-graphic-secondary {
   opacity:1 !important;
}

Hope that helps.

It works well.

Thanks a lot!

You are most welcome. :slight_smile:

An other question regarding the current menu item…

if I enter an other subpage, which is under a separate menu, how can I keep the main menu item active?

Thanks a lot in advance!

Hello @Finlando,

Thanks for asking. :slight_smile:

You can take a look at following thread:

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.