Thread:CzechOut/@comment-26955746-20150716232203/@comment-26955746-20150717020009

Curiouscrab wrote:

On the sample syntax you have the parameter state set to mw-collapsed. If this isn't used correctly (with either mw-collapsed or mw-uncollapsed) then it won't function properly. Maybe I'm not understanding you, but I'm not sure if you know exactly what I'm talking about. I know how to set the state of a single navbox (like the sample one above) to be collapsed or uncollapsed by default. I'd like it so that if I add a navbox to a page and it's the only one on it, its state will be automatically uncollapsed. If I then add an additional navbox, when I go on that page I want both of them to be collapsed by default. Try this: This will reduce all that and clean up your work. Also, that puts the padding around the whole thing with class navbox-list. For example,  the padding would be for the whole box as a whole, not the individual text. I think this might be what the issue you're having is. Although, it seems to be working for me. Thanks, I added it but I still don't seem to be seeing the 7px left padding for example. Could the actual Navbox template (not the MediaWiki CSS) be the problem?