Community Central
Community Central
Forums: Index Support Requests Apply style for gallery class
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 4662 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


Hello,

I was trying to test a feature before adding it to my wiki. It's an extra style for the class gallery-image-wrapper accent, which is used in the squares that are shown in falleries cells (in Wikia skin). Here's what it looks like:

/* gallery cell style */

.gallery-image-wrapper accent {background: #f2f2f2 !important; border: 1px solid #cccccc;}

For some reason, it didn't work properly. I tested it on this page (in order to apply it on the gallery images only and not the thumbnail). If you can take a look and try to find where i did something wrong, please let me know.
Penguin-Pal (talk) 18:07, September 14, 2012 (UTC)

What are you trying to do?
/* gallery cell style */

.accent {background-color: #f2f2f2 !important; border-color: #cccccc;}
Does this do it?--Category:Acer4666 18:33, September 14, 2012 (UTC)
Transparent images have a light blue background with a slightly darker blue color- what i was trying to do is to change it to a light grey background and to a dark grey border.
The example you gave me worked- but it is applied below the background of the image, so it's still blue. Penguin-Pal (talk) 18:52, September 14, 2012 (UTC)
No, wait- it worked! thanks so much :D Penguin-Pal (talk) 18:55, September 14, 2012 (UTC)