Forums / Templates, Stylesheets, Page Layout / header_bg on page 100%

header_bg on page 100%

Locked

Views: 889

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
14 Jul 2008, 5:07 PM
#1
d1rage5 avatar

d1rage5

Zen Follower

Join Date:
Jan 2008
Location:
Roswell, Ga USA
Posts:
144
Plugin Contributions:
0

header_bg on page 100%

is there a way to make the header_bg resize to the size of the page it or firefox is open to?

also how to you stop the repeat action for this?

14 Jul 2008, 5:13 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: header_bg on page 100%

is there a way to make the header_bg resize to the size of the page it or firefox is open to?

also how to you stop the repeat action for this?
Conflict...

Make it a repeating tile to auto size

Zen-Venom Get Bitten

14 Jul 2008, 5:29 PM
#3
d1rage5 avatar

d1rage5

Zen Follower

Join Date:
Jan 2008
Location:
Roswell, Ga USA
Posts:
144
Plugin Contributions:
0

Re: header_bg on page 100%

i dont want the image to repeat (so on repeat-x (would this be repeat-100%)?

14 Jul 2008, 5:34 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: header_bg on page 100%

If the image is a fixed size then it can not strectch to fit another size

100% is not an allowed variable for repeat

Zen-Venom Get Bitten

14 Jul 2008, 5:39 PM
#5
d1rage5 avatar

d1rage5

Zen Follower

Join Date:
Jan 2008
Location:
Roswell, Ga USA
Posts:
144
Plugin Contributions:
0

Re: header_bg on page 100%

kobra:

If the image is a fixed size then it can not strectch to fit another size

100% is not an allowed variable for repeat

OK

So can the image be set to adjust?

can repeat be turned off?

14 Jul 2008, 5:43 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: header_bg on page 100%

So can the image be set to ajust?

can repeat be turned off?
I stated that a fixed image can not resize and that to get this you need to make a repeating tile

add to your css for this image

background-repeat: no-repeat; 

Zen-Venom Get Bitten

14 Jul 2008, 5:51 PM
#7
d1rage5 avatar

d1rage5

Zen Follower

Join Date:
Jan 2008
Location:
Roswell, Ga USA
Posts:
144
Plugin Contributions:
0

Re: header_bg on page 100%

kobra:

I stated that a fixed image can not resize and that to get this you need to make a repeating tile

add to your css for this image

background-repeat: no-repeat;


thank you, i am still getting use to php and css with zen cart on the images as others i have worked with allow images to adjust.

the no repeat worked.