I am trying to edit a post's CSS in Wordpress theme editor, however, I get two errors. Here is the code:
#post-6303 {
.post-content {
padding: 0 10% 0 10%;
}
}
The second line gets unexpected RBRACE and the last line gets unexpected '}'
Any ideas?
It is invalid syntax if you use css without any preprocessors.
There is valid code:
#post-6303 .post-content {
padding: 0 10% 0 10%;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With