CSS not displaying on mobile device?
-
Hi,
I have a lot of custom CSS set up to make my site look as I’d like it to…NONE of this is appearing when I open the site on my phone. I have checked that “enable mobile them” is checked on under “Mobile Options” but what else can I do?
Ann
The blog I need help with is: (visible only to logged in users)
-
OK! Unchecking that did solve the problem..
Now there is a new problem, however. The sidebar is suddenly appearing in the middle of the site content? It seems to not understand the spacing of the overall site. Would the previous code you gave me help to modify that in anyway?
-
The code I provided will allow you to modify the way your site looks on mobile without affecting what it looks like on desktop.
-
Give this a shot. Should be a good place to start, and you can tweak the CSS from here:
@media screen and (max-width: 800px) { .site-header { width: 220px; left: -25%; margin-left: 10%; } .site-content { right: -50%; left: 30%; } } -
-
- The topic ‘CSS not displaying on mobile device?’ is closed to new replies.