Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

question-circle Change the background color for the viewed article

More
9 years 9 months ago #4084 by locar
Hello Olivier,

I am trying, without success, to change the background color (grey by default) of the currently viewed article on a LNEE module that displays several articles of the same category. How can I achieve this?

Thanks in advance

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #4085 by admin
Hello!

the viewed article has a special class 'active' associated to it. Add your CSS modifications to that class (you may need to add !important to override the default background color).

I removed that color in v2 of the module and replaced it with opacity properties, which is more elegant.

Olivier.

Please Log in or Create an account to join the conversation.