-1

I want to add some color and formatting to the polls at my site poll but the problem is that it seems Drupal is not adding any special IDs or classes for this poll.

Then how can I target the poll questions? I want to make their font larger with some background etc. I don't want to change the theme files.

1 Answer 1

2

CSS Selectors can do that. You can target HTML that have no Classes or IDs http://www.w3.org/TR/CSS2/selector.html, http://css.maxdesign.com.au/selectutorial/selectors_descendant.htm, http://css.maxdesign.com.au/selectutorial/selectors_child.htm

2
  • Won't it be too general to use css unspecific selectors? Isn't there any way to insert an id around the polls?
    – AgA
    Oct 14, 2011 at 10:14
  • 1
    Theme your poll. Theme developer drupal.org/project/devel_themer is your friend. Oct 14, 2011 at 13:04

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