Well i have a bunch of css rules in my Common.css file, but when I use devtools to simulate a mobile, there's just no rules in the load.php style tab where it is normally. That's confirmed when I use my phone to go on the article, rules that should apply does not.
#CSS not loading on mobile
39 messages · Page 1 of 1 (latest)
if you are using MobileFrontend extension (adds mobile/desktop switch) - it ignores all CSS but inline and MediaWiki:Mobile.css
^ Here's Wikipedia's own CSS:
https://en.m.wikipedia.org/wiki/MediaWiki:Mobile.css
Oh okay
Okay so I reopen this
Bc I couldn't disable the extension so I copy the common.css content to mobile.css
But it didn't have any effect
mobile mode usually works on different skin
default mobile skin is Minerva
so it's gonna differ from normal desktop skin wiki is using
Minerva is also notably limited, it hides or simplifies a lot of features
Yeah but it's my CSS ?
So it should be the same ?
Like I juste set some margin and use some grid
on infobox?
for templates
some are made to be used inside infobox but not all
wikidiscordalterhis
btw do i have to copy the js code to some Mobile.js also ?
I think yes
for templates you can also use TemplateStyles, mobile mode doesn't ignore it
ohhhh
that is certainly better than stacking all my css into the main file 😂
is templatestyles default extension or locked ?
bc in the managewiki i can only find templateStylesExtended
and my admin said she couldn't add it
thats weird that it is done only on some
i get some warning about my file being in wikicode and not in sanitize css ?
how do i set my file to be sanitize css
page information: