Board Thread:Support Requests - Designing Your Wikia/@comment-26731725-20151120110435/@comment-4731443-20151120222336

does nothing on inline elements; it's meant for block elements like  or.

Below is what I use on my wiki to center long rows (without labels) - that one is for captions, which are in my case always the first div. .pi-theme-book div:first-of-type div:first-of-type { margin-left: auto; margin-right: auto; }

Trying to affect the value itself does nothing because the containing div doesn't have 100% width, thus the content fills it completely and can't be more centered than that. So alternatively you could set the div's width to 100% and then use text-align in your infobox's format tags. .pi-theme-book div:first-of-type div:first-of-type { width: 100%; }

Edit: As for the title, it has a dedicated class so it can be controlled more easily: .pi-theme-book .pi-title { text-align: center; }