Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / adding an image to the left column

adding an image to the left column

Locked

Views: 1,867

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
12 Oct 2006, 10:01 AM
#1
awoman avatar

awoman

Zen Follower

Join Date:
Dec 2005
Posts:
142
Plugin Contributions:
0

adding an image to the left column

Does anyone know how I can add an image into my left column? Not in my navigation area, just on that side.?

12 Oct 2006, 10:21 AM
#2
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: adding an image to the left column

Add it to includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php in the section <td id="navColumnOne"...> or <div id="navColumnOneWrapper" ..>

12 Oct 2006, 11:39 AM
#3
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: adding an image to the left column

an eaiser way so you don't have to edit the template file is to add it to your stylesheet.css

find the following code:

#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
	margin: auto;
	}

and add the following declaration just below it:

#navColumnOneWrapper {background: url(../images/YOUR_IMAGE.???);}

12 Oct 2006, 11:42 AM
#4
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: adding an image to the left column

That's assuming she wants it as a background! :wink2:

12 Oct 2006, 11:48 AM
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: adding an image to the left column

Good point, but she has 2 choices to pick from.

13 Oct 2006, 4:07 AM
#6
awoman avatar

awoman

Zen Follower

Join Date:
Dec 2005
Posts:
142
Plugin Contributions:
0

Re: adding an image to the left column

Thanks for the replies! It is greatly appreciated! I was actually wanting to pop an image in, not as a background and it worked perfect! I was not sure what page the code was on!

Thanks again!