Image link in menu to remain in hover state after clicking

hi guys,
i searched your database and used some of the css i found related to the topic but none really worked for me.
could u kindly provide me a hint/code how to achieve that the Image link “Inspire me!” i added to the menu remains in hover state after clicking. here is the url …

Summary

https://funkybooth.eu/blog

btw, somehow the link on hover moves to the left … is my css wrong? …

li#menu-item-1438 a:hover {
background: url(“my image url”) no-repeat;
}

thank you for your support :slight_smile:

Hey @mtwice2,

Please replace your hover code with this.

li#menu-item-1438 a:hover,
li#menu-item-1438.current-menu-item a {
    background: url(https://funkybooth.eu/wp-content/uploads/2018/02/Inspire-me-button-active.png) no-repeat;
    background-position-x: 10px;
}

Hope that helps.

Your code works great! Thank you very much! :slight_smile:

On behalf of my colleague, you’re welcome. Cheers! :slight_smile:

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