Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Nicer poll bars - css Details »
Nicer poll bars - css
Mod Version: 2.00, by billstelling (Member) billstelling is offline
Developer Last Online: Dec 2016 I like it Show Printable Version Email this Page

vB Version: 4.2.1 Rating: (0 vote - 0 average) Installs: 15
Released: 05 Dec 2013 Last Update: 19 Dec 2013 Downloads: 42
Not Supported Template Edits Re-usable Code Translations  

I miss adding the images for the poll bars we had before. Even then it was a pain to code in and you had to up graphics to get the job done.

I put together a little coding to make it really simple to do and only takes about a minute to do.


To use this mod, add this code to additional css.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Go to the stylvars for the theme, click the go button on the right and then check the box that says "Hide Variables". Pick "polls' in the list and set the "Poll Bar Height" to what you want, I used 6px and set "Poll Bar Margin" to 0.4em. Set the colors for the poll bars to the start color you set for the gradient if you changed it. I used #fd7d16.

You can set the colors for the gradient by adjusting the red code.

You can set the level of shadow by adjusting the dark orange code.

The blue is to bring them down and centered with the text for the poll item.

If you want a different one for each bar, use the same code, change to the colors you want, and remove the extra descriptors.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With each one just change pollbar1 to the number for that bar.


full size
Enjoy.


Update:

Colored poll bars.




Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
CA - Poll Bars 2.0 Trip Miscellaneous Images 7 12 Mar 2011 21:14
Poll Bars!! Shelley_c Modification Graveyard 27 20 Jul 2010 11:08
Poll Bars Sweeks Miscellaneous Images 3 28 Nov 2009 10:24
CA - Poll Bars 1.0 Trip Miscellaneous Images 4 16 Feb 2009 17:24

Comments
  #2  
Old 05 Dec 2013, 16:50
Davey-UK's Avatar
Davey-UK Davey-UK is offline
 
Join Date: Feb 2003
Location: Sheffield-UK
Real name: Dave
Do you have a screen shot of what to expect with this edit?
Ta
__________________
==========================================
If it aint broke -------------------- Don't fix it!!
==========================================
Reply With Quote
  #3  
Old 05 Dec 2013, 17:00
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
added.. I missed it when I wrote it up. I added it while you were posting..
Reply With Quote
  #4  
Old 14 Dec 2013, 10:11
ckgb ckgb is offline
 
Join Date: Oct 2007
How did you get the number of votes to display in the same orange?

Thanks
Reply With Quote
  #5  
Old 15 Dec 2013, 23:12
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
poll #'s

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

poll %

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by billstelling; 15 Dec 2013 at 23:22.
Reply With Quote
  #6  
Old 16 Dec 2013, 00:24
ckgb ckgb is offline
 
Join Date: Oct 2007
Thank you very much
Reply With Quote
  #7  
Old 19 Dec 2013, 06:43
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
your welcome..
Reply With Quote
  #8  
Old 11 Feb 2014, 08:29
ckgb ckgb is offline
 
Join Date: Oct 2007
Polls having 0 votes display semitransparent looking tiny bars. Where is the option to change color of he "zero vote" bars?

Thank you.
Reply With Quote
  #9  
Old 16 Apr 2014, 03:09
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
in this part of the code..


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by billstelling; 16 Apr 2014 at 04:31.
Reply With Quote
  #10  
Old 09 Jan 2015, 15:54
ku-med's Avatar
ku-med ku-med is offline
 
Join Date: Aug 2013
Looks cool! Thanks.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:49.

Layout Options | Width: Wide Color: