Zen Cart Logo
Forums / General Questions / Adding an image to both sides of the mainwrapper

Adding an image to both sides of the mainwrapper

Locked

Views: 1,112

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
28 Sep 2008, 12:04 PM
#1
crooked_halo avatar

crooked_halo

Zen Follower

Join Date:
Feb 2008
Location:
Western Australia
Posts:
192
Plugin Contributions:
0

Adding an image to both sides of the mainwrapper

This is what my site currently looks like:

This is what I want it to look like: (the image is not to scale)

How do I do this please? I have made the images and added them to my template images. I also added to the stylesheet:

#rightside {
	float: right;
	}
	
#leftside {
	float: left;
	}

I am not sure if I am on the right track or not though. Any help is appreciated.

28 Sep 2008, 12:30 PM
#2
crooked_halo avatar

crooked_halo

Zen Follower

Join Date:
Feb 2008
Location:
Western Australia
Posts:
192
Plugin Contributions:
0

Re: Adding an image to both sides of the mainwrapper

I have been thinking about it and think I may have come up with a solution of sorts...... Maybe I should just make an image 910 pixels wide and as long as I need it then centre it above the background image somehow? Does that make sense or am I making things harder for myself?

28 Sep 2008, 5:15 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Adding an image to both sides of the mainwrapper

Check post #21 in this thread:

http://www.zen-cart.com/forum/showthread.php?t=102274

It's done with an image with a transparent section the width of your mainWrapper and the other images on the sides.

29 Sep 2008, 3:03 AM
#4
crooked_halo avatar

crooked_halo

Zen Follower

Join Date:
Feb 2008
Location:
Western Australia
Posts:
192
Plugin Contributions:
0

Re: Adding an image to both sides of the mainwrapper

Thank you Stevesh. Your a wealth of knowledge. My image looks crap lol I will need to make a better one.