User talk:Zippy: Difference between revisions
Discussion page of User:Zippy
More actions
→CSS Making: Reply |
→CSS Making: Reply |
||
Line 90: | Line 90: | ||
:Not Zippy, but I hope I can provide a few answers in the meantime. Sitewide CSS is controlled by the page MediaWiki:Common.css. Users can customize their own styles by editing their personal CSS pages such as User:YourUsername/common.css. To apply CSS to a specific page in MediaWiki, you can assign a unique class or ID to elements on that page and then target those selectors in MediaWiki:Common.css. For example, you might use body.page-PageName as a CSS selector to apply styles only when viewing a specific page. Lastly, if you want to apply CSS to just a specific skin (like Vector or MonoBook), you can instead edit pages like MediaWiki:Vector.css. [[User:Globe|Globe]] ([[User talk:Globe|talk]]) 21:07, 11 July 2025 (UTC) | :Not Zippy, but I hope I can provide a few answers in the meantime. Sitewide CSS is controlled by the page MediaWiki:Common.css. Users can customize their own styles by editing their personal CSS pages such as User:YourUsername/common.css. To apply CSS to a specific page in MediaWiki, you can assign a unique class or ID to elements on that page and then target those selectors in MediaWiki:Common.css. For example, you might use body.page-PageName as a CSS selector to apply styles only when viewing a specific page. Lastly, if you want to apply CSS to just a specific skin (like Vector or MonoBook), you can instead edit pages like MediaWiki:Vector.css. [[User:Globe|Globe]] ([[User talk:Globe|talk]]) 21:07, 11 July 2025 (UTC) | ||
::Oh thank you so much! Took me a while to figure it out, but now that I did my sites acting a bit funky but that's likely because of the refreshed theme [[User:BTB Studio Code|BTB Studio Code]] ([[User talk:BTB Studio Code|talk]]) 21:41, 11 July 2025 (UTC) |