WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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.