Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am just a newbie in wordpress.I want the colour of the sidebar widget will be different in different pages. As the id and class are both same in every pages don't know how to change that.Is there any solution of it?Any help will be highly appriciable...

share|improve this question
add comment

1 Answer

if you are using (a child of) twenty ten, then the theme will use body_class() and have a unique css class for each page; use that to style the color of the sidebar widgets; example:

.page-id-23 #primary.widget-area { color: #123edf; }
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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