![Deb1703797](https://vmapp.org/images/player/000default.jpg)
: Changing color of body text on MediaWiki's "common.css" has no effect Over at the MediaWiki.org page Manual:CSS, it mentions: If you want to make all text on the wiki green you can add
Over at the MediaWiki.org page Manual:CSS, it mentions:
If you want to make all text on the wiki green you can add the code
body { color: green; } to MediaWiki:Common.css.
I've made a few successful global changes to my wiki (running 1.26.2) through its common.css page, but making the one above doesn't work. Text remains black, even when looked at from another browser. I'd like to find out what I'm doing wrong because I'd ultimately like to change the font for the site to "Georgia," and I've also failed to make that happen.
Here's some of the code that's presently on my common.css page. The first two lines (hiding the "powered by" icon) seem to work. The second two (turning the text green) don't.
/* hiding "powered by MediaWiki" icon */ #footer -poweredbyico { display: none; }
/* trying to turn the wiki text green */
body { color: green; }
More posts by @Deb1703797
1 Comments
Sorted by latest first Latest Oldest Best
The CSS-directive body { color: green; } is overwritten by directive on .mw-body { color: #252525 ; }.
If you really want green copy-text use: .mw-body { color: green; };)
But changing the font-family is possible on the body tag with body { font-family: Georgia; } (except the headings)
PS: I changed the example on mediawiki.org Manual:CSS
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.