How can I code a widget like the one in the picture. When you hover over a text item it is high lighted in blue.

How can I code a widget like the one in the picture. When you hover over a text item it is high lighted in blue.

Hello @waynepatt58,
Thanks for writing in!
That’s basically done using CSS hover selector. Usually the code for widgets hover would go something like this:
.x-sidebar .widget ul li:hover{
background-color: #3458f6;
}
If you would like to learn more about hover selector, please take a look at following resource:
https://www.w3schools.com/cssref/sel_hover.asp
Thanks.
Many thanks, will try that out.
You are most welcome!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.