galleries now display as bulleted lists

Fragment of a discussion from Project:Support desk
Jump to: navigation, search

Yes it changed to a list (which is more proper HTML and fixes other problems like max monitor width usage). But normally it looks like this: Help:Images#Gallery syntax

It's some of your CSS overriding the default.

Subfader13:33, 25 January 2012

We've hardly touched our CSS at all, and certainly not in this upgrade. Did the CSS change between releases? Again, I haven't found anything with instructions on why stuff that worked OK before would break, or how to fix it. The only CSS I see related to galleries is in our main. css and I don't see how this would have the effect. Sorry if I'm being dense; did no one else have this problem?

table.gallery {
        border: 1px solid #ccc;
        margin: 2px;
        padding: 2px;
        background-color: white;
}
table.gallery tr {
        vertical-align: top;
}
table.gallery td {
        vertical-align: top;
        background-color: #f9f9f9;
        border: solid 2px white;
}
table.gallery td.galleryheader {
        text-align: center;
        font-weight: bold;
}
div.gallerybox {
        margin: 2px;
        width:  150px;
}
div.gallerybox div.thumb {
        text-align: center;
        border: 1px solid #ccc;
        margin: 2px;
}
div.gallerytext {
        font-size: 94%;
        padding: 2px 4px;
}
Elf20:38, 25 January 2012

The gallery or MediaWiki is not broken that's why you see no notes about it.

Check your custom skin! I found CSS being included from wiki/skins/bayteam/

Subfader10:55, 26 January 2012

Hey, I've got the same problem, and I could not find any CSS being included in the main.css of my custom skin. Where do I have to look for the code that breaks the galleries? Thanks for any helpful comments!

91.89.143.3609:29, 30 January 2012
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox