Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2011, 04:15 AM
bikoy888 bikoy888 is offline
 
Join Date: Sep 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How To Make This Background

hi,

how can i make this gradient color in the background? both left and right



using v4.1.3

TIA
Reply With Quote
  #2  
Old 06-08-2011, 06:38 AM
Felixbone Felixbone is offline
 
Join Date: May 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doc_background stylevars
top left repeat-x

It should do.
Reply With Quote
  #3  
Old 06-08-2011, 08:11 AM
TWood's Avatar
TWood TWood is offline
 
Join Date: Mar 2009
Location: Washington DC
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Usually the background is set to a color. Then create a 1 pixel wide by however tall you want the gradient portion to be, image. The gradient in the image should start at some color and then end at the same color as the background so it blends in. Then make it the background-image, align top left and repeat-x. That means it will start at the top left and then repeat horizontally (x direction) across the page. Here at vBulletin.org, it looks like they have gradients set to repeat-y (vertically) down each side of the body.

EDIT:
BTW, Adobe Fireworks is a great program for doing this. There are probably other programs too, but they should work in hexadecimal (#121212) web colors, and not just RGB (000 111 222) colors to get everything using the same system.
Reply With Quote
  #4  
Old 06-08-2011, 01:57 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Photoshop

Upload this file to your path so it looks like this : images/bground.npg

Attached Thumbnail is only for visual - full size in zip

Now go into your style's stylevar and set these:

Common - doc_background

Background Colour : #3F65A3
Background Image : url(images/bgound.png)
Background Repeat: No Repeat
Bacgd Img H-Offset : top
Bckgd Img V-Offset : center
Attached Images
File Type: jpg Bground.jpg (12.7 KB, 0 views)
Attached Files
File Type: zip Bground.zip (4.3 KB, 4 views)
Reply With Quote
  #5  
Old 06-08-2011, 03:56 PM
Felixbone Felixbone is offline
 
Join Date: May 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Background Colour : rgb(0,0,0)
Background Image : url(images/brgound.png)
Background Repeat: No Repeat

it must be repeat-x to keep the image repeating to fill the background.
the color is not 000 but something like #3E64A3 if you are going to put it on top.
Reply With Quote
  #6  
Old 06-08-2011, 06:38 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your input Felixbone, I changed the BG colour to the bottom gradient colour and changed my post to reflect.

The OP asked how to make the background so I did, following my instructions, will bring my result as seen in my attachment.

The last colour at the bottom is #3F65A3 and then gradients up into #020202 which is all I could go off from the image that was posted.

Changing the image to repeat-x will make no difference unless your forum is longer that 1350px which is why the background colour should be #3F65A3. If it does indeed become longer then you will not see the change as all the gradient is set at the top and not at the bottom.

Happy designing
Reply With Quote
  #7  
Old 06-08-2011, 06:50 PM
Felixbone Felixbone is offline
 
Join Date: May 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But if you are using repeat-x you can make it work even with a 1px width image.

And it reduce time load (ok not that much but it better).

It likes using a table vs css. Both did the same work but I prefer the smarter one.

Anw, hope he can make it done.
Reply With Quote
  #8  
Old 06-08-2011, 07:07 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I'm up for that challenge..
Reply With Quote
  #9  
Old 06-08-2011, 07:35 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New: Set to repeat-x and upload new image
Attached Images
File Type: jpg bground.jpg (935 Bytes, 8 views)
Attached Files
File Type: zip Bground.zip (3.1 KB, 2 views)
Reply With Quote
  #10  
Old 06-09-2011, 10:03 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Might want to add > fixed < to the end of the image url. That will pin the image letting the forum slide over it. Otherwise all your hard work on making that back ground look so good goes out the top of the screen when you scroll to the bottom of the forum.

--------------- Added [DATE]1307618725[/DATE] at [TIME]1307618725[/TIME] ---------------

RobbieZ when I upload the unzipped background my uploader says it's got the wrong type of file extention. Is it really a jpeg or is it a png?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04844 seconds
  • Memory Usage 2,272KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete