I want to make a template for a Wiki I edit, but I can't seem to recreate this box. Does anyone know if I have to ask the admins to download a script for it?
I want to make a template for a Wiki I edit, but I can't seem to recreate this box. Does anyone know if I have to ask the admins to download a script for it?
Here is the link to the Wiki's current Common.css page https://herois.fandom.com/pt-br/wiki/MediaWiki:Common.css
Yes, thanks.
Do what I said above.
Doesn't it risk changing some stuff I don't want changed, like the background image?
I just did as you said. What about now? https://herois.fandom.com/pt-br/wiki/MediaWiki:Common.css
I copied and pasted the MediaWiki links you provided, yet while heading worked, the box did not.
https://herois.fandom.com/pt-br/wiki/Predefini%C3%A7%C3%A3o:Afiliados
"I just did as you said"
No you actually did not.
I said:
"copy the content of https://villains.fandom.com/wiki/MediaWiki:MP.css to your wiki's MediaWiki:Common.css."
You have to copy the content of MP.css. That's the styles for the affiliate template.
Remove all you pasted there again and copy/paste the content of the page I linked instead.
I did. It worked. But now, how do I restore the Wiki's heading style? It worked when I copied the common,css code for the Wiki, but now it has disappeared.
Nevermind, I forgot to purge the cache of the page. Thank you for you advice. I'm very much a rookie in this admin thing atm
The styles for the heading template were in the other styles, but you have figured this.
However, you missed this snippet which affects light mode. Add it as well.
.theme-fandomdesktop-light .MainPageHeading {
color: #FFFFFF;
}Also, you have to import the font used for the heading by adding this line on top of Common.css: (it MUST be on the very top)
@import url("https://fonts.googleapis.com/css2?display=swap&family=Libre+Baskerville");Where do I put it in the code?
What do you think?