vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   How to change forum post color background? (https://vborg.vbsupport.ru/showthread.php?t=187305)

gundrik 08-05-2008 06:41 PM

How to change forum post color background?
 
I want to change the background of the posts that users read. Right now, I've changed the coding in the postbit template and replaced the alt1 class: <td class=alt1
with this: <td class=""

Now I'm left with a black background on all new posts, like you see below:
https://app.onlinephotofiler.com/ima...post_29685.jpg

How and where can I put in the code for a solid background with my color of choice?

I've tried adding in bgcolor to the td tag but have had no luck.

veenuisthebest 08-05-2008 06:50 PM

first of all, restore the template edit you made i.e. leave it to alt1

now, go to admincp->styles and templates->style manager->choose your style->all style options->Edit the First Alternating Color to your liking

gundrik 08-05-2008 06:57 PM

Quote:

Originally Posted by veenuisthebest (Post 1592099)
first of all, restore the template edit you made i.e. leave it to alt1

now, go to admincp->styles and templates->style manager->choose your style->all style options->Edit the First Alternating Color to your liking

I'd like for both to be different though :erm:. The options i have in, First Alternating Color work great for the forum page, but look poor on new posts. I'm not sure why both are connected with the same class.

Attitude5ire 08-05-2008 07:14 PM

Just add a new class, its better not to alter global classes.. make a new class .alt3 put background,fonts,colors to ur liking n etc.. and just change the alt2 to alt3 in postbit

gundrik 08-05-2008 07:18 PM

Attitude5ire, where can I put the code for the new class?

Attitude5ire 08-05-2008 07:58 PM

Main CSS... in advanced css section at bottom.


All times are GMT. The time now is 02:17 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.03357 seconds
  • Memory Usage 1,719KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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