Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi guys,
Quick question: Where do you place the mobile only css?
I thought it went like this:
- global.css: Here you place global styles and all mobile styles
- normal/narrow/wide: Here you place styles for normal/narrow/wide. You just override the mobile styles.
But this doesn't seem to be the case. (Because some css in global.css isn't working on mobile)
So is there a sepperate css file for mobile-only css?
I tried adding alpha-mobile.css (in the folder + info file) but the css is affecting all pages...
Help would be appreciated. :-)
Comments
Comment #1
DriesP CreditAttribution: DriesP commentedAnyway, I fixed it by adding a mediaquery to a css file...