Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Gallery thumbnails.


Go to End


3 Posts   1275 Views

Avatar
mexik

Community Member, 16 Posts

20 October 2009 at 12:47am

Hi Guys,

I'd like to make gallery thumbnails a little bit more interesting.
I want to have a kind of fade in effect - normally it's smoked (darker), on mouse over i want to to get brighter thumbnail.

At the moment this gallery looks a bit dull so this could make it alive.

If you know how to do it i would appreciate that.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

20 October 2009 at 1:44am

You can probably just do that with the opcacity CSS attribute, right?

.your-thumbnail a img {opacity:0.5;}
.your-thumbnail a:hover img {opacity:1;}

Avatar
mexik

Community Member, 16 Posts

20 October 2009 at 3:20am

thanks, but I have no idea where that is.

I mean I can't find css file where it could be.
I know it's stupid but if you can point the place where it is ...

thanks :)