Board Thread:Support Requests - Designing Your Wiki/@comment-27179086-20200520140557



Noticed this issue with some of the boxes, not sure why. Anyone has any ideas?

https://towerofgod-anime.fandom.com/wiki/Template:Crown_Game_Regulars

Constituent templates:

https://towerofgod-anime.fandom.com/wiki/Template:Char

https://towerofgod-anime.fandom.com/wiki/Template:CharGallery

Images from: https://towerofgod-anime.fandom.com/wiki/Category:Hide_%26_Seek_Regular_Profiles

Themes under css .chargallery: https://towerofgod-anime.fandom.com/wiki/MediaWiki:Themes.css

.chargallery .wikia-gallery { display: flex; flex-wrap: wrap; justify-content: center; } .chargallery .wikia-gallery-item { border: 3px solid; margin: 0 -3px -3px 0; padding: 0; } .chargallery .wikia-gallery-item img { background-color: #ffffff; margin-top: 0 !important; } .chargallery .wikia-gallery-item .lightbox-caption { box-sizing: border-box; font: bold 9pt/1.25em sans-serif; margin: 0; padding: 4pt; } .chargallery-profile-caption { font-size: larger; } .chargallery-profile-subcaption { font-size: smaller; } .chargallery.theme-affiliation-regulars .wikia-gallery-item { background-color: #1A52AC; border-color: #1C2240; } .chargallery.theme-affiliation-regulars .chargallery-profile-caption, .chargallery.theme-affiliation-regulars .chargallery-profile-subcaption { color: #ffffff; } .chargallery.theme-affiliation-regulars .chargallery-profile-caption a, .chargallery.theme-affiliation-regulars .chargallery-profile-subcaption a { color: #ffffff; }

div class center from here https://towerofgod-anime.fandom.com/wiki/MediaWiki:Wikia.css .center { width:100%; text-align:center; } Surprisingly it was perfectly fine on another page that used customised themes, not the affiliation-regulars theme, so not sure what went wrong here

https://towerofgod-anime.fandom.com/wiki/Template:Tag_Regulars

Original templates and css here https://bokunoheroacademia.fandom.com/wiki/Template:Char https://bokunoheroacademia.fandom.com/wiki/Template:CharGallery https://bokunoheroacademia.fandom.com/wiki/MediaWiki:Themes.css

Thank you in advance 