-1

I am using the css body { backgroundcolor: black } and it colours all pages, but only want to colour my posts. I have tried body .post { backgroundcolor: black } but it colours the container instead.

0

Are you creating your own theme? Or are you editing an existing theme? In either of the cases, I would advise you to learn more about CSS selectors and to learn how to use Chrome Dev Tools to inspect and change your CSS

| improve this answer | |
  • It's and existing one. I just need to know how to change that one thing. – Scott McEwan May 16 at 13:05
  • Right-click on the element you want to change, and go to Inspect -> Elements, there you will need to find the markup for the element you wish to change and see if it has any custom classes or IDs, read up on Selectors and Chrome Dev Tools, it will help you out and it never hurts to learn something new – AcidBurn May 16 at 14:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.