vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   bbcode Background color. (https://vborg.vbsupport.ru/showthread.php?t=66896)

neocorteqz 07-06-2004 08:01 AM

bbcode Background color.
 
How do i change the backgound color of the bbcode boxes? Right now it's hard to read with the current color it's at.

Edit, I would like to do it without editing the Second Alternating Color.

Xenon 07-06-2004 10:18 AM

just edit the bbcode_ templates and hardcode the color there, as we did on vb.org :)

neocorteqz 07-06-2004 10:53 AM

Quote:

Originally Posted by Xenon
just edit the bbcode_ templates and hardcode the color there, as we did on vb.org :)

I may have done it wrong, but where would I start to hardcode it? I replaced the 'alt2' in the template with a hex value. but it didn't change, i take it i have to replace the whole <pre class="alt2" > line?

And may i ask what you used for code? My HTML is kinda weak. :)

Xenon 07-06-2004 11:25 AM

you cannot replace classes with hexvalues, you have to overwrite the style :)

<pre style="background: #188884;"> for example.

neocorteqz 07-06-2004 04:10 PM

thank you sir.

Xenon 07-06-2004 04:12 PM

you're welcome

neocorteqz 07-06-2004 04:30 PM

1 Attachment(s)
Maybe I'm missing something.

this is the original template.

HTML Code:

<div style="margin:20px; margin-top:5px">
        <div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:</div>
        <pre class="alt2" style="margin:0px; padding:$stylevar[cellpadding]px; border:1px inset; width:$stylevar[codeblockwidth]; height:{$blockheight}px; overflow:auto">$code</pre>
</div>

I have edited it, but keep getting this and several other variations. Maybe I'm missing something due to the lack of sleep in the past 24 hours.

Xenon 07-06-2004 04:32 PM

hmm, lack of sleep i'd say, at least i cannot think of anything else ;)

you may want to search some of my posts, i think i posted vb.org's template somewhere :)


All times are GMT. The time now is 11:16 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.01006 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
  • (1)bbcode_html_printable
  • (1)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