#Lines for infoboxes, specifically infobox country/Lopsided infobox

15 messages · Page 1 of 1 (latest)

bitter urchin
#

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?

#

For reference, this is how it made it look:

zenith glen
#

could you link the template?

zenith glen
#

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;
}

bitter urchin
#

Because I can't find
.infobox td, .infobox th { text-align: left; }
in either

bitter urchin
zenith glen
#

oops forgot, you should have css .infobox { width: 300px; text-align: center; }

bitter urchin
#

YOOOOO IT WORKED

#

Thank you @zenith glen , you're the GOAT

#

There's some smaller issues but I'll try to figure them out myself first, I'll reach out if I get stuck. But thank you fr