1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where do you style polls?

Discussion in 'Styling and Customization Questions' started by System0, Jun 4, 2012.

  1. System0

    System0 Active Member

    I noticed that the polls on my forum are not showing colours i.e. a poll with 4 votes isn't showing as a graph.

    I read that by adding .pollResult .bar {} to extra.css you can style your polls but it doesn't seem to work. Anyone know where/how I can change the colour inside the polls (from white).
     
  2. Russ

    Russ Well-Known Member

    I guess you could use Shelleys example as a guide:
    http://xenforo.com/community/resources/poll-enhancement.367/

    It might help you out.
     
    System0 likes this.
  3. System0

    System0 Active Member

    Thanks Russ. I was actually talking about inside the poll container. Notice how inside the poll bars is blank.

    poll-blank.png
     
  4. Russ

    Russ Well-Known Member


    Technically :

    Code:
    .pollResult .bar { background: none repeat scroll 0 0 #000000 !important; }
    
    should work
     
    System0 likes this.
  5. System0

    System0 Active Member

    Perfect. That's exactly what I was looking for. Thanks :):)
     

Share This Page