New Zenner
- Join Date:
- Jul 2005
- Posts:
- 84
- Plugin Contributions:
- 0
Post #1 by nickjre
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
New Zenner
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
New Zenner
Is this even possible?
Totally Zenned
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.
New Zenner
I would-But I want to have a link along with that second banner
Totally Zenned
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. :(
New Zenner
Ah, I get what your saying. But how would I situate the "logo" below the header?
Thanks for your help-
Nick
New Zenner
After I re-read, I see what your saying now. I'll give that a shot. Thank you!
New Zenner
Here's my next snag, How do I change the link for the header.. I can't find where to change this anywhere.
Totally Zenned
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
New Zenner
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??
New Zenner
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.
Totally Zenned
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:
New Zenner
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
New Zenner
Anyone?
Tell staff why this post should be reviewed.