CSS code not working in WordPress editor
-
Hi,
I’m trying to make the hero section from the mobile screen smaller in height, and I use this simple line of code: height: 90vh;
The problem is that when I write this in Chrome it works perfectly:
#id{
height: 90vh;
}
But when I write this inside WordPress css editor it doesn’t work, it does not change anything on my website.
I suppose there’s a problem with my code, though.Any suggestions?
-
Hi, “#id” doesn’t sound properly selected, just off the top of my head. But it’s hard to tell without seeing the site. Could you send a link to the site you’re having trouble with?
Note these forums are for the sites hosted and managed here at WordPress.com. For help with a WordPress installation hosted somewhere else, you’ll need to use these forums instead:
https://wordpress.org/support/forums/ -
- The topic ‘CSS code not working in WordPress editor’ is closed to new replies.