● Change the color of the vote bar graph.

Sun Aug 14, 2022 9:29 am
Clan Leader
Top Dog
Nuke Dev / Coder
2999 Posts
Currently Offline

Most Played:
This week: 25.3hrs.
Total Played: 1,897hrs.

Taking a break from work!
Reputation: 7286.9
votes: 7
Recently I updated the installation instructions to the Multivote forum mod, and it was recently asked how to change the colors of the bar graph when you set up a vote. Well, Instead of posting in that topic for it to get buried, I figured I would post here for ease of finding for future use.
At this moment in time, this is what you need to do, just note, this is general instructions and your theme may have something custom instead.

Do a search for the word progress, You may find something that looks like:

Code: [ Select all ]


If you don't find that, no worries, then just go to the bottom of the page and do the following


Code: [ Select all ]

/* For Chrome or Safari */
progress::-webkit-progress-bar { background-color: #444; }
progress::-webkit-progress-value { background-color: #FFA200 !important; }

/* For Firefox */
progress { background-color: #444; }
progress::-moz-progress-bar { background-color: #ffa200 !important; }

Note, change the colors to match what you want. This should change it on all or most modern browsers. Not sure about mobile.
Also, if you didn't have that line or anything similar to it, you can add it in right before you paste in the code for the colors. That code will allow you to change the height and what not.

This is in concurrent with the post here:
Please login to see this link
Get registered or Log in

and a response to the post after it about the colors.

Sun Aug 14, 2022 11:20 am
130 Posts
Currently Offline

Most Played:
This week: 1.0hrs.
Total Played: 868hrs.

Are you really committed?
Reputation: 846.4
Thank you very much m8, works a treat.
Forums ©