Setting a page specific content area background
-
Hi everyone,
I’m new to wordpress and am trying to get my head round the very basics of coding.
I’m currently trying to set my site up so that an opaque background (#ddd9cdcc) appears on the product page(s) (see link) only. The code I have used applies this change to every page on the site.
Just so you know what kind of incompetence you’re dealing with, this is how the code currently looks (apologies for my lack of adherence to coding conventions!):
body.product-template-default.single.single-product.postid-15 content-area { background-color: #ddd9cdcc; } .content-area { background-color: #ddd9cdcc;} .content-area {padding-left: 1.4em; padding-right: 1.4em; padding-bottom: .5em; padding-top: .5em}I have no idea how this code has achieved what it has, as very slight changes seem to have unexpected consequences! So if anyone could help me with the correct code for the task, that would be great.
The page I need help with: [log in to see the link]
The topic ‘Setting a page specific content area background’ is closed to new replies.