Topic on Project:Support desk

[RESOLVED] How can I change the background color of the skin Vector?

5
185.5.60.134 (talkcontribs)

Hi, I have a question: can you tell me how to change the background color of the skin Vector in Mediawiki 1.25.1? Until now I used MediaWiki 1.22 and was sufficient just change the color in the file screen.less... But now it looks totally different and I do not understand what I have to change.

Thank you!

88.130.108.58 (talkcontribs)

Basically what you do is, use the same style definition as you did before (this modified line from in the screen.less file), but put the CSS definition into the wiki page MediaWiki:Vector.css in your wiki. Basically, just as an example (which will most likely not do what you want, but should show how that's basically meant to look like):

#mw-body {
    background-color: red;
}
Krauss (talkcontribs)

You must to use admin user... And #mw-body is wrong (!), you can use the tag name body (it is unique), or, today, for current skin Vector version, body.mediawiki.

66.211.253.126 (talkcontribs)

i tried both and i get nothing except the text on my screen


Reply to "[RESOLVED] How can I change the background color of the skin Vector?"