Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
  #1  
Old 07-13-2007, 09:39 AM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to stop background gradients repeating?

I've done searches for solutions and all of them haven't worked.

So far, (from the solutions I found from searches) to get this gradient to work, I have tried putting these into the CSS background section in style manager;

#1b4985 url(http://img182.imageshack.us/img182/9868/bgku4.jpg) top left repeat-x
#1b4985 url(http://img182.imageshack.us/img182/9868/bgku4.jpg) repeat-x
#1b4985 url(http://img182.imageshack.us/img182/9868/bgku4.jpg) repeat
url(http://img182.imageshack.us/img182/9868/bgku4.jpg) top left repeat-x

However, the gradient still repeats itself hall way down the page as shown here.

Any help would be greatly appreciated.
Reply With Quote
  #2  
Old 07-13-2007, 10:04 AM
cyberphr's Avatar
cyberphr cyberphr is offline
 
Join Date: Jul 2006
Location: Hell
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

repeat-x means repeat on the X axis.

no-repeat
Reply With Quote
  #3  
Old 07-13-2007, 10:33 AM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for trying to help but forgot to mention no-repeat doesn't work either. That just makes the gradient show up on the very left hand side once.
Reply With Quote
  #4  
Old 07-13-2007, 11:16 AM
cyberphr's Avatar
cyberphr cyberphr is offline
 
Join Date: Jul 2006
Location: Hell
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bacon Butty View Post
Thanks for trying to help but forgot to mention no-repeat doesn't work either. That just makes the gradient show up on the very left hand side once.
Then repeat-x should work for what you want. Are you sure that the images is actually repeating vertically, and it's not just the background colour?

Try:
Code:
repeat-x top left
repeat-x left top
repeat-x
Reply With Quote
  #5  
Old 07-13-2007, 03:11 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have the wrong background color. You have a color that matches the top of the gradient, not the bottom.

TRY:

Code:
#F1F6F9 url(http://img182.imageshack.us/img182/9868/bgku4.jpg) top left repeat-x
Reply With Quote
  #6  
Old 07-20-2007, 08:21 AM
hinch's Avatar
hinch hinch is offline
 
Join Date: May 2003
Location: UK
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
body
{
	background: #898a8f;
	color: #C1C1C7;
	font: 10pt Tahoma, Verdana, Arial;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	background-image: url(images/fa/background.jpg);
	background-repeat: repeat-x;
}

works fine for me using http://www.furious-angels.com/images/fa/background.jpg as my background
Reply With Quote
  #7  
Old 07-20-2007, 09:22 AM
no mods's Avatar
no mods no mods is offline
 
Join Date: Apr 2007
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

#1b4985 url(http://img182.imageshack.us/img182/9868/bgku4.jpg) fixed

Try that.
Reply With Quote
  #8  
Old 07-20-2007, 09:24 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hinch View Post
Code:
body
{
	background: #898a8f;
	color: #C1C1C7;
	font: 10pt Tahoma, Verdana, Arial;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	background-image: url(images/fa/background.jpg);
	background-repeat: repeat-x;
}

works fine for me using http://www.furious-angels.com/images/fa/background.jpg as my background
That's odd. There's no background at that site.

Anyway, the code I posted a week ago should have resolved his problem. He just had the wrong background-color.

So, there was really no point in bumping this thread, eh?

Quote:
Originally Posted by no mods View Post
Seriously. I posted the proper code a week ago. He has the wrong BACKGROUND COLOR.

The gradient is not repeating vertically.

Let me repost the proper code for his site:
Code:
#F1F6F9 url(http://img182.imageshack.us/img182/9868/bgku4.jpg) top left repeat-x
No more improper suggestions, please. I'm guessing he already resolved his issue since he hasn't posted here in a week.
Reply With Quote
  #9  
Old 07-20-2007, 12:29 PM
hinch's Avatar
hinch hinch is offline
 
Join Date: May 2003
Location: UK
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

should perhaps of stated thats the css from the new skin i'm working on not the current one
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 04:34 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.06347 seconds
  • Memory Usage 2,244KB
  • Queries Executed 13 (?)
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
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete