User talk:EnbyPie08/CSS Test

From The Wiki Camp 2
Jump to navigation Jump to search

background images have to be set in a templatestyles — Hi I'm Coppersalts 02:53, 9 July 2023 (UTC)


i did that but it seems to not work? EnbyPie08 (talk) 16:09, 9 July 2023 (UTC)

templatestyles are sanitized css and append .mw-parser-output to the start of every rule. Adding a background to a page is most commonly done by putting the whole page inside a div (which you don't even have to close at the end of the page, you can just open it at the start) and giving that div id or class a background image through the templatestyles. — Hi I'm Coppersalts 17:59, 9 July 2023 (UTC)

style="mw-body" isn't a thing. Most pages with backgrounds just deal with it only applying to the middle of the page. — Hi I'm Coppersalts 18:41, 9 July 2023 (UTC)

For the logo you can use Template:ReLogoHi I'm Coppersalts 18:42, 9 July 2023 (UTC)

i finally got it to work! thx midi! EnbyPie08 (talk) 19:24, 9 July 2023 (UTC)