vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   For the Beginners: "alt3" (https://vborg.vbsupport.ru/showthread.php?t=196303)

glorify 11-15-2008 01:24 AM

For the Beginners: "alt3"
 
If you know your way around html or vb, go to the next mod, this one's for the beginners ONLY.

Really not even a mod, but a simple css addition for those who have no idea what they are doing when it comes to adding a simple background to a table cel in vb's templates.

In your admincp, go to styles and templates. Expand the style you'd like to add this to. Scroll all the way down to the bottom where it says "Additional CSS definitions".

Add the following line with your values:

Code:

.alt3
{
        background: url(url path to your image) repeat;
        color: #(font color number);
}

Then next time you want to change a td class to something with your background, just replace with <td class="alt3"> and your background will appear in your cel.

I don't overuse it, but I add it here and there on my site. Check the jersey on my navbar. It's done with this very basic definition.

ArnyVee 11-15-2008 01:48 PM

Very 'basic', but very useful :D

By the way, could we use this to add an image into the postbit background? Or, the category background 'area'?

If so, where do we adjust it?


All times are GMT. The time now is 05:00 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.02490 seconds
  • Memory Usage 1,709KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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