Fandom

Infobox Wikia

Turning off auto-hyphenation in portable infoboxes

223pages on
this wiki
Add New Page
Comments0 Share
HypenationExample

Hyphenation like this is optional.

By default, portable infoboxes will try to fit in as much text as possible on any given line, and then break words with a hyphen when it reaches the end of the line. If you're a part of a community that doesn’t like this method of line-breaking, it’s easy to turn off.

.portable-infobox .pi-navigation,
.portable-infobox .pi-header,
.portable-infobox .pi-caption,
.portable-infobox .pi-data-value,
.portable-infobox .pi-data-label {
     -webkit-hyphens:none;
     -moz-hyphens:none;
     -ms-hyphens:none;
     hyphens:none;
}

But even though you can turn it off, you might not find it makes that much difference to how many lines are used to accommodate your text. In fact, in some instances, turning off hyphenation could make your total line usage increase.

See also

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.