vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   A Few questions about polls (https://vborg.vbsupport.ru/showthread.php?t=302665)

dj83 09-26-2013 10:18 AM

A Few questions about polls
 
1 Attachment(s)
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.

Quote:

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

Code:

#pollinfo {
  margin: 10px 0 0;
}

Quote:

Originally Posted by dj83 (Post 2448098)
2. Is there a way I can have more text on one line before it wraps?

Code:

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

Quote:

Originally Posted by dj83 (Post 2448098)
3. How can I make the color bars shorter?

Code:

#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

1 Attachment(s)
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


All times are GMT. The time now is 10:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00996 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete