1. Digijoom
  2. Sherlock Holmes
  3. Commercial Templates
  4. Monday, 05 December 2022
  5.  Subscribe via email
Hi,

Is it possible to give each JNews item another background color? And how can I do that?
Now they all have the same bg-color (fig caption).

Thanks
Kees
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Kees

To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....

.j51news .hover-overlay {
background-color: #b0bf2e;
}


(edit to taste)

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you very much Ciaran,

As always you helped me fine! This works.

Last question about JNews. Where or how can I change the hover color. Now I see something like orange. I have searched and did changes with the browser inspector and in the settings. But I can't find it anywhere.

Thanks and best regards
Kees
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Kees

The module does not have the option to set individual colors for each item however one solution may be to create 3 instances of the News module display one in each?

You may need a little custom CSS to display the modules in a single row.

Cairan
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Kees

Would you have a URL to an example of your News module?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.