#How can I have a page specific background?
73 messages · Page 1 of 1 (latest)
Um ig you can do it like this
.ns-2{
background-color:
}
@arctic flare
if ur the admin, enable [[mw:Extension:CSS]] and u can change the css on ur userpage
otherwise not entirely sure its possible
You can try something like:
.page-User_JustLeafy2k3, .page-User_JustLeafy2k3 #mw-head {
background-image: url(https://static.miraheze.org/ultroswiki/thumb/8/86/UltrosBackground.jpg/1199px-UltrosBackground.jpg?20240414180243);
}```
Obviously, you must replace the username with yours and the URL to the background image
lemme know if this works for u
i have admin i enabled css
where do i put this?
i have the CSS extension enabled
but it never works
i use the code im given and it does not work
depends on what skin ur wiki is using, what part of the background exactly u want to change etc
send a link
Well
It does not want me to send the lnik
we have a custom domain does it not like those
There awesome
this probably works ```
.mw-page-container {
background-image: url(URL HERE);
}
okay lemme test
i just throw it above my text in my page right?
{{#css:
the code here
}}
also how would i do it with just colors? dont have the file uploaded yet i just wanna test
it should? put !important between the color and the semicolon if it doesnt
yeah that should work
put !important after the color before the semicolon
yeah
background-color:unset !important;
}```
That worked
Is there documentation on this specifically? I dont wanna keep bothering you with how to change stuff
I really just need to know how to do colors for all the stuff on the page like the text and the gif box
most importantly poke around in inspect element, youll see where everything gets its colors and background colors there
alr
Awesome I'm LEARNING!!!
This is actually fun thank you
wait how do i get rid of this random gradient
.vector-page-tools::after {
display:none !important;
}
p, h1, h2, h3, h4, h5 {
color:white;
}
should about cover it
that worked
awesomesauce thank you very very much for helping
god damn it
this was gray for like 1 second then it turned white again
how can i make it gray like the bg?
or just have the gif appear on it's own without any background
cant help abt that bc i cant access any page other than the main page and cant see any images haha, try to inspect element it, u can chnage colors in inspect element too to see if something works before adding it to the page
i dont see anything in the inspect about color
the only way to make it not have a bg is by removing |thumb| from it but then it appears below my text and also it's huge
i know it's huge because the gif is large but i dont like that it appears below
that wont be where the css, shows up, u have to look here
and highlight over it to see if u have the right thing selected, i dont think that frame is on the image, rather on something above it
i think u can do |right|300px too
oh right the css parser gets mad at url()
go to common.css, add
:root {
--mangobgimg: url(url here);
}
and then on ur page use
background-image: var(--mangobgimg);