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

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2010, 12:30 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default block border ??

I'm trying to edit the block border around the post form on newthread, reply, quick reply, etc and I'm not having any luck.

I've thickened up the block header border by changing the border width but I can't figure out how to thicken up the 2 sides & bottom of the block row border. i can see in the style guild that the var I need to change is block_border but changing the settings there seem to do nothing. i made sure to change all settings for width, color, units, & style but I still just get a thin black line.

anyone know how to change this border? i've attached a screen cap of the stylevar guide identifying the var & a screen cap w/ a red arrow showing what i'm trying to edit. man the new CSS is driving me nuts.

thanks in advance
Attached Images
File Type: jpg Image1.jpg (11.8 KB, 0 views)
File Type: jpg Image2.jpg (11.1 KB, 0 views)
Reply With Quote
  #2  
Old 04-13-2010, 01:26 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See if this helps you - http://www.vbulletin.com/docs/html/s...tainer_general
Reply With Quote
  #3  
Old 04-13-2010, 02:11 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
thanks but according to that I'm editing the right thing

block_border - Changes the width, color and style of the border around forms

but editing that seems to do nothing. i don't know why



changing blockfoot_border works.
blockfoot_border - Changes the width, color and style of the last row on the page

and so does blockhead_border
blockhead_border - Changes the width, color and style of the outline around the block head border

but not block_border



and it's not blockrow_border. that makes lines inside the outer border.
Reply With Quote
  #4  
Old 04-13-2010, 10:19 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well the best way to get it right the first time is use firefox and install firebug. I had to fo most of my theme that way as the stylvar was way pre-mature.
Reply With Quote
  #5  
Old 04-14-2010, 09:27 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
Well the best way to get it right the first time is use firefox and install firebug. I had to fo most of my theme that way as the stylvar was way pre-mature.
thanks charlie, that helped so much. from firebug I can see that border is set by CSS "section"
which isn't in the style var editor but looking in the CSS templates I found this chuck of code in vbulletin-formcontrols.css

HTML Code:
/* div.section is needed to resolve IE7 percentage width bug */
.formcontrols .section {
	padding:0 15px;
}
I added my border color & width there & it worked like a charm. I guess I better check IE now. maybe I need to set it in both places.

thanks again
Reply With Quote
  #6  
Old 04-14-2010, 10:45 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would of mentioned it earlier but I thought it already was in the stylvars. I always go the easiest route first.
Reply With Quote
  #7  
Old 04-14-2010, 10:45 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that fixed it in IE too. not sure what the block_border in the editr does.

thanks once again
Reply With Quote
  #8  
Old 04-29-2010, 09:54 AM
clubplanet clubplanet is offline
 
Join Date: Dec 2001
Location: Buenos Aires
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mutt View Post
thanks charlie, that helped so much. from firebug I can see that border is set by CSS "section"
which isn't in the style var editor but looking in the CSS templates I found this chuck of code in vbulletin-formcontrols.css

HTML Code:
/* div.section is needed to resolve IE7 percentage width bug */
.formcontrols .section {
	padding:0 15px;
}
I added my border color & width there & it worked like a charm. I guess I better check IE now. maybe I need to set it in both places.

thanks again
I'd advise against changing it here as it makes things like the search form look a bit screwy. I finally found the stylevar that actually needs to be changed to make this happen:

Under Common -> tabslight_border

Hope that helps. I have no idea what block_border does either - nothing happened for me.
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 12:07 AM.


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.06018 seconds
  • Memory Usage 2,253KB
  • 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
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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_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