Forums / Templates, Stylesheets, Page Layout / How can I add a graphic to top of left column?

How can I add a graphic to top of left column?

Locked

Started by rstevenson on 29 Jan 2007, 9:54 PM · Views: 920

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Jan 2007, 9:54 PM
#1
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

How can I add a graphic to top of left column?

Hi folk,

I can't seem to find the right file for this.

I want to add a graphic to the top of the left column, above all sideboxes, on all pages. I presume I'll need to over-ride something, but can't find the right file to modify.

As usual, any hints gratefully accepted.

Rob

Breakfast: the most important donut of the day.

30 Jan 2007, 2:08 AM
#2
stevensmedia avatar

stevensmedia

New Zenner

Join Date:
Jan 2006
Posts:
88
Plugin Contributions:
0

Re: How can I add a graphic to top of left column?

Try this one:

/includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php

Look for "<div id="navColumnOneWrapper">".

Hope that helps!

30 Jan 2007, 3:05 AM
#3
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: How can I add a graphic to top of left column?

Well one would think so, wouldn't one?!? But...

When I put an image tag in there, above anything else in that div, it didn't show up. So I asked. Then, when you said I should be able to do it there, I tried again. Still no go. So I put a bit of text right after the image tag, saying Image Here!, and the text shows up but not the image!

I know the image file is there, in the common/images folder.

It's time for bed here in the wilds of Atlantic Canada, but if you'd like to have a look it's here.

(Ignore the pink; it's just there to show me where everything is while I try to push it around where I want it.)

Rob

Breakfast: the most important donut of the day.

30 Jan 2007, 9:14 PM
#4
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: How can I add a graphic to top of left column?

Hi me,

I hate to keep talking to myself, but someone else may wonder how to do this. I didn't succeed by editing a core file, as suggested above. Instead I went into admin and turned on a sidebox banner, set it up as I needed, and uploaded the graphic I wanted into the place the banner would look for it. Then, using a suggestion from Kim in a thread from last March, I substituted a bit of code to eliminate the header over the sidebox.

The net result of all this was to put a logo at the top of the left column, as I needed. (In case you were wondering, the logo is a vertical format, and so wouldn't fit where it usually goes in the default Zen template.)

Now on to the next issue.

Rob

Breakfast: the most important donut of the day.

30 Jan 2007, 10:16 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,730
Plugin Contributions:
0

Re: How can I add a graphic to top of left column?

:thumbsup: Good job of thinking outside the box to put something in the right er, left box.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.