Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2013, 10:18 AM
dj83 dj83 is offline
 
Join Date: Sep 2013
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default A Few questions about polls

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!
Attached Images
File Type: jpg poll.jpg (70.7 KB, 0 views)
Reply With Quote
  #2  
Old 09-27-2013, 05:24 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add the css in the code blocks below to the end of your "additional.css" template.

Quote:
Originally Posted by dj83 View Post
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 View Post
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 View Post
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
Reply With Quote
  #3  
Old 09-28-2013, 06:34 AM
dj83 dj83 is offline
 
Join Date: Sep 2013
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks so much!
Reply With Quote
  #4  
Old 09-28-2013, 06:39 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome!
Reply With Quote
  #5  
Old 09-28-2013, 06:46 AM
dj83 dj83 is offline
 
Join Date: Sep 2013
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Attached Images
File Type: jpg xx.jpg (73.3 KB, 0 views)
Reply With Quote
  #6  
Old 09-28-2013, 09:27 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pass a link to your site. so I can see your actual CSS.
Reply With Quote
  #7  
Old 09-28-2013, 12:17 PM
dj83 dj83 is offline
 
Join Date: Sep 2013
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my site is a private site. The additional.css didn't have anything there and that's where I added the above code in.
Reply With Quote
  #8  
Old 09-29-2013, 05:09 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 10-01-2013, 04:26 AM
dj83 dj83 is offline
 
Join Date: Sep 2013
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi tbworld,

I am using the default vb style.
Reply With Quote
  #10  
Old 10-01-2013, 05:29 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.16311 seconds
  • Memory Usage 2,272KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete