vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   block border ?? (https://vborg.vbsupport.ru/showthread.php?t=240365)

Mutt 04-13-2010 12:30 PM

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

Charlie98902 04-13-2010 01:26 PM

See if this helps you - http://www.vbulletin.com/docs/html/s...tainer_general

Mutt 04-13-2010 02:11 PM

Quote:

Originally Posted by Charlie98902 (Post 2020535)

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.

Charlie98902 04-13-2010 10:19 PM

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.

Mutt 04-14-2010 09:27 PM

Quote:

Originally Posted by Charlie98902 (Post 2020798)
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

Charlie98902 04-14-2010 10:45 PM

I would of mentioned it earlier but I thought it already was in the stylvars. I always go the easiest route first.

Mutt 04-14-2010 10:45 PM

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

thanks once again

clubplanet 04-29-2010 09:54 AM

Quote:

Originally Posted by Mutt (Post 2021392)
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.


All times are GMT. The time now is 03:50 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.01451 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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