Hutchy68 / pivot

A MediaWiki mobile skin which "Pivots" seamlessly to any size display.
https://pivot.wikiproject.net
BSD 2-Clause "Simplified" License
37 stars 18 forks source link

Unable to customize #41

Closed shawngs closed 7 years ago

shawngs commented 7 years ago

Setup

Issue

I am unable to customize my site as described in https://pivot.wikiproject.net/wiki/Customizing. I have tried adding customizations to both MediaWiki:Pivot.css and MediaWiki:Common.css but the site continues to remain the default pivot color. I have cleared browser cache and tried on 3 separate browsers but the default color remains. Please let me know what I should be doing. Thank you!

kghbln commented 7 years ago

You have to make sure that the CSS is valid. Pivot.css is e.g. missing a closing bracket

ul.side-nav label {
    background: #517398;
    color: #fff;
    padding: .25em .5em;

The result is that everything after that line is being ignored no matter if it is correct or invalid syntax.

Hutchy68 commented 7 years ago

Yes, thanks @kghbln you hit it right. @shawngs I see 2 missing closing brackets (}) in your CSS. If you fix them in MediaWiki:Pivot.css, then clear your cache, you should see your changes. You should also delete the Common.css page or blank it. It's double loading same code and missing same closing brackets too.

If you are caching pages using file caching you might have to delete the CSS file in the cache.

shawngs commented 7 years ago

Thank you @kghbln and @Hutchy68! It is working now.

kghbln commented 7 years ago

It is working now.

Cool and thank you for using Pivot!

Hutchy68 commented 7 years ago

Awesome 👍🏻