Hello, I'm trying to get lines between categories exactly like Wikipedia has here in the attached image. I'm using Wikipedia's template because it has parameters that I need not found on the dev wiki, but for some reason it doesn't come with the lines (yes, I have the css and other sub-templates and modules imported). @livid sonnet and I tried to fix this (#1444909167524708362 message) and we got the lines, but it ended up de-centering everything and pushing it to the left, along with making it wide. This of course looks really bad and I'd rather have it how it was with no lines. So then how do I get the lines in my infobox without having the whole thing get messed up?
#Lines for infoboxes, specifically infobox country/Lopsided infobox
15 messages · Page 1 of 1 (latest)
could you link the template?
try css .infobox { width: 300px; } and replace css .infobox td, .infobox th { text-align: left; } with ```css
.infobox .infobox-label, .infobox .infobox-data {
text-align: left;
}
Within the template or the css?
Because I can't find
.infobox td, .infobox th { text-align: left; }
in either
Alright I *think *I did it but I don't see any changes atm
sitewide css takes some time to update, put ?debug=2 at the end of the url to get instant updates
oops forgot, you should have css .infobox { width: 300px; text-align: center; }