Community Central


Community Central
Forums: Index Community Central Forum Broken Gallery
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.

Hi! I would like to ask if I can get help from the folks around here about a gallery problem in our wiki, The Monster Hunter Wiki. I figured this problem was caused by the upgrade, and I don't know how to deal with it...

As you can see on:

The slideshow on this section is not really on center, even with the align tag on it.

And on this one, certain galleries on our wiki have been default set to one picture per row, and a look that I really dislike for my wiki..

If I can ask, can you guys help me please fix the gallery issues in our wiki, and set the gallery tag back to its default look? Thank you in advance! {{SUBST:User: Mckrongs/Siggy}} 12:51, January 31, 2011 (UTC)

The first issue is the result of the gallery slideshow being within a parent table element. I temporarily fixed the issue but if you want to fully fix it, you will need to take the slideshow out of the table (probably adding a missed |} somewhere or closing an unclosed <div> tag). The second issue is really odd. I tried a number of methods to fix it, but for some reason the gallery rows have a default width set to maximum. I couldn't find any .css code in your MediaWiki:Wikia.css that would be the reason, so that one is a mystery to me. I suggest either wait for someone else to find and post a solution here or contact the Wikia Staff and tell them about the issue. Sovq 13:58, January 31, 2011 (UTC)
Fixed the first one, you forgot to close a table. --Weas-El Talk|Contribs 20:40, January 31, 2011 (UTC)
The second issue has nothing to do with the MediaWiki:Wikia.css. The problem exists in Monobook too. --Weas-El Talk|Contribs 20:50, January 31, 2011 (UTC)
If you want the image to be on top of the "shadow", you can use this CSS: span.wikia-gallery-item a img {margin-left:-16px; margin-top:-16px;}.  Monchoman45  Talk  Contribs  Skystone  21:29,1/31/2011 
Where do I put this code, and would this also fix the problem with the one image per row? --User:Mckrongs
Common.css. See here about enabling Common.css in Oasis. Also, I don't think its possible to get them to appear in one row with the gallery. Or if it is, I don't know how. You could just use a table instead of the gallery.  Monchoman45  Talk  Contribs  Skystone  12:19,2/1/2011 
The gallery layout is strange, could this be some new feature, that's tested in your wiki? I recommend contacting wikia staff via e-mail. Tampering with CSS will not fix it. --Weas-El Talk|Contribs 13:27, February 1, 2011 (UTC)
CSS will fix it, but it won't put them in one row. And gallery isn't new, it's been around for a while. It should be documented somewhere, so you might want to find the documentation on MediaWiki. Contacting the staff for this seems unnecessary.  Monchoman45  Talk  Contribs  Skystone  13:39,2/1/2011 
The problem is that the images don't appear in one line, not that they have shadows.. No gallery default settings have been changed in the .css files, as far as I know, so adding any css code, even if it should fix the issue, would be a workaround solution. The same gallery coding seems to work properly on other wikis, so it's not a problem with the gallery syntax either. I agree with Weas-El; since nobody here came up with a solution, contacting the Wikia Staff is recommended. Sovq 15:23, February 1, 2011 (UTC)
I have already contacted them about the situation the past day. I'm currently waiting for their reply. User:Mckrongs