Skip to main content

Forums » Help » Template CSS Help

Claine Moderator

Hi!

I would like to add a colour overlay to the gallery images in a custom profile. I've tried a few tutorials but I can't seem to get the results to stick. Is anybody able to help me with this?
Kim Site Admin

I'm not sure about an overlay, but could you put the color behind the thumbnail, then adjust the opacity of the thumbnail? Something like...
Code:
ul.gallery a.lightbox { background: #9a6380; display: inline-block; } ul.gallery img { opacity: 0.5; } ul.gallery li a:hover img, ul.gallery li a:focus img { opacity: 1; }
Claine Topic Starter Moderator

Wow that works perfectly! :D I never would have thought of using the background.

http://www.rprepository.com/c/remi/16991
Kim Site Admin

Awesome! :D

You are on: Forums » Help » Template CSS Help

Moderators: Mina, Keke, Cass, Auberon, Claine, Ilmarinen, Ben, Darth_Angelus