View Single Post
  #26  
Old 05-04-2008, 03:41 AM
markbolyard's Avatar
markbolyard markbolyard is offline
 
Join Date: Apr 2005
Location: Maryland
Posts: 629
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by twicedaily View Post
Hi Mark,

I'd like to start by saying I am a big fan of your styles, I think they have nice clean lines and are very professional looking. I think we are very lucky that you provide them gratis.

Anyway, what I am wondering is how easy it would be to replace the large background image?
I realise that I could just replace it with my own one, and know how to do that, but I was wondering how easy it would to replace it with a tiled background? Or possibly have a wide image at the top that graduates down into a solid colour. Essentially like this website does:

http://www.visitnc.com/

I'm just not that up to speed with template mods yet, to know where to look/begin.

The image is not too deep but blends in with the black background colour, and I think it looks very classy.

Anyway, hope you can help.

Cheers

Twice
If you go to the Main CSS for this style and look in the Body Extra CSS Attributes, you will see this section of code:

Code:
margin-top: 0px;
margin-bottom: 0px;
margin-right: 0px;
margin-left: 0px;
background-image: url(sleekblack/bg.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
If you want to tile a image for the background, change your code to look like this:

Code:
margin-top: 0px;
margin-bottom: 0px;
margin-right: 0px;
margin-left: 0px;
background-image: 
url('link/to/your/image.jpg');
background-repeat: repeat
If you want to have a fade, you would have to make your background graphic with the gradient fading to the desired background color, and use this code to have it repeat horizontally only:

Code:
margin-top: 0px;
margin-bottom: 0px;
margin-right: 0px;
margin-left: 0px;
background-image: 
url('link/to/your/image.jpg');
background-repeat: repeat-x
Now that you know where to set the background, you can search the net for "background images using CSS" and see verious ways to create backgrounds for this style.


Quote:
Originally Posted by Mrdby View Post
so cna I add my own background and would it work with all the mods i already have installed?
The background has nothing to do with template code, and will not affect the opperation of your mods installed on your forum.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01159 seconds
  • Memory Usage 1,778KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete