PDA

View Full Version : A Few questions about polls


dj83
09-26-2013, 10:18 AM
Hello,

Sorry about all of the question but i am still trying to figure thigns out and learning things about vb.

My questions are.

1. Can I make the whole poll box bigger so that its even with the grey line under it (look at attachment below)?

2. Is there a way I can have more text on one line before it wraps?

3. How can I make the color bars shorter?

Thank You!

tbworld
09-27-2013, 05:24 AM
Add the css in the code blocks below to the end of your "additional.css" template.


1. Can I make the whole poll box bigger so that its even with the grey line under it (look at attachment below)?


#pollinfo {
margin: 10px 0 0;
}

2. Is there a way I can have more text on one line before it wraps?

#pollresults li p {
width: 27%; /* Increase to Increase Text Area */
}

3. How can I make the color bars shorter?

#pollresults li .votes .pollbarwrapper {
width: 83%; /* Decrease to decrease Color Bar length */
}
The two percentage widths above should equal 100%

I hope this helps :)

dj83
09-28-2013, 06:34 AM
thanks so much!

tbworld
09-28-2013, 06:39 AM
You're welcome! :)

dj83
09-28-2013, 06:46 AM
After doing the above I've noticed a few small issues.

The bar is really long now and moved under the question and also the vote count moved under the bar. How can I fix this?

pic attached...

Thanks!

tbworld
09-28-2013, 09:27 AM
Pass a link to your site. so I can see your actual CSS.

dj83
09-28-2013, 12:17 PM
my site is a private site. The additional.css didn't have anything there and that's where I added the above code in.

tbworld
09-29-2013, 05:09 AM
I based the CSS off the default vbulletin style. I cannot adjust the CSS to your style unless I can read the current CSS used on your board. If you fool around with the CSS selectors I have given you and alter the properties. You should be able to accomplish something close to what you are looking for.

Sorry, I could not help you further.

dj83
10-01-2013, 04:26 AM
Hi tbworld,

I am using the default vb style.

tbworld
10-01-2013, 05:29 AM
I see you sent me a link. Can you send me a link to a thread with a pole in it. That would save me a ton of time! :) Thanks