Forums / Templates, Stylesheets, Page Layout / Did a search, Can't find out how to do this..

Did a search, Can't find out how to do this..

Locked

Views: 2,112

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
9 May 2007, 1:01 PM
#1
nickjre avatar

nickjre

New Zenner

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Did a search, Can't find out how to do this..

I'd like to add another image directly below my header that is the same length and leaves no gap in between. How would I accomplish this?

Thanks,
Nick

10 May 2007, 12:18 PM
#2
nickjre avatar

nickjre

New Zenner

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Did a search, Can't find out how to do this..

Is this even possible?

13 May 2007, 8:53 AM
#3
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: Did a search, Can't find out how to do this..

Why don't you just save yourself extra work.. would it not be feasible to just combine the two images via a graphics program and then adjust for the size change in your stylesheet? I'm just guessing as there's not too much to go on.

14 May 2007, 12:15 PM
#4
nickjre avatar

nickjre

New Zenner

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Did a search, Can't find out how to do this..

I would-But I want to have a link along with that second banner

15 May 2007, 1:10 AM
#5
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: Did a search, Can't find out how to do this..

Ahhh, clickable banner. I've never had to do that, so I don't have any advice.

Hmmm. you could use the clickable little Zen Cart logo as a transparent top with your link directive. You could make a transparent image and situated it over your graphically combined images, setting the clickable/transparent ex-Zen Cart logo over your banner half.

See, you can make your combined images as the whole header background.. then, have the transparent ex-Zen Cart modified logo sit on top of the banner. I don't think you would have to do any custom coding, asides from stylesheet adjustments concerning the new height of the header background image and the transparent logo placement. I hope that makes a bit of sense, I have a hard time explaining things. :(

15 May 2007, 12:08 PM
#6
nickjre avatar

nickjre

New Zenner

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Did a search, Can't find out how to do this..

Ah, I get what your saying. But how would I situate the "logo" below the header?

Thanks for your help-

Nick

15 May 2007, 12:15 PM
#7
nickjre avatar

nickjre

New Zenner

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Did a search, Can't find out how to do this..

After I re-read, I see what your saying now. I'll give that a shot. Thank you!

15 May 2007, 1:19 PM
#8
nickjre avatar

nickjre

New Zenner

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Did a search, Can't find out how to do this..

Here's my next snag, How do I change the link for the header.. I can't find where to change this anywhere.

15 May 2007, 3:56 PM
#9
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: Did a search, Can't find out how to do this..

Sorry for being late, you're way ahead of me.. which is probably a good thing. Meaning, you got what I was trying to convey. :laugh:

Oh the linky.. I've never done something like this before, so I hope someone can make sure I'm on the level here.

You would have to modify the "tpl_header.php" in the 'common' folder of the default_template. Whereas, I would insert a new folder named "common" into your current template's main folder. Then, I would make a copy of the tpl_header.php from the default_template's common folder. Finally, put that copy into the newly created "common" folder in your current template's main folder.

This is the part I fear I may be wrong. Having said that, you would only have to delete the copied tpl_header.php if something were to go sour.

Inside your copied tpl_header.php, find:

<!--bof-branding display-->
<div id="logoWrapper">
    <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . 

I believe it may work like this:

<!--bof-branding display-->
<div id="logoWrapper">
    <div id="logo"><?php echo '<a href="www.yourbanner'ssite.com" target="_blank">' . 

I believe the "alt" text for the ex-logo is in yoursite/includes/languages/english/header.php

--I actually just tried the above and it works on my end! Using the above tutorial, the new link works fine and it passed validation. Meaning, no code was hurt during this experiment. I like to play the guinea pig, instead of store owners. :D

16 May 2007, 1:01 PM
#10
nickjre avatar

nickjre

New Zenner

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Did a search, Can't find out how to do this..

Sketchy thank you for all the help I really appreciate it. I've almost got this thing all done. I'm on one last snag... How do I relocate the transparent image (what was the zen-cart logo) to the bottom??

16 May 2007, 1:42 PM
#11
nickjre avatar

nickjre

New Zenner

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Did a search, Can't find out how to do this..

I found it!!!!!!!!!!!!!!!!!!!! Wow, Can't believe I finally got this working! Thanks so much sketchy!

For any searching on how to move or re-align your logo using the "classic template"

You must open your copy of tpl_header in the overrides folder.

On line 53 change <td valign="whereeveryouwanthere" to whatever you'd like bottom, left, right etc.

16 May 2007, 1:54 PM
#12
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: Did a search, Can't find out how to do this..

You're welcome.

Edit: you beat me. Thanks for sharing with all.

I'm glad you got it all worked out. Pat yourself on the back and/or treat yourself to some Jager this weekend. :laugh:

31 Mar 2008, 3:34 PM
#13
nickjre avatar

nickjre

New Zenner

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Did a search, Can't find out how to do this..

Well Know it looks like in version 1.3.8 the tpl_header is different.

I don't see an align function anywhere in tpl_header

so my question is now, How do I move the link in v1.3.8

Thanks,
Nick

1 Apr 2008, 12:09 PM
#14
nickjre avatar

nickjre

New Zenner

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Did a search, Can't find out how to do this..

Anyone?