replacing the "tagline" with a banner
I'm having trouble replacing the "tagline" with a banner. I've been able to remove the tagline or change it at will. However, when I remove it by making the statement: define('HEADER_SALES_TEXT',''); I am unable to position my banner in the proper place. It's as if there is a space where the tagline was.
(See: www.innocentlingerie.com/zencart )
I've surfed this problem and can't seem to come closer then to remove the both of them completely.
I'd appreciate any input I could get.
Thanks
Fungai
Re: replacing the "tagline" with a banner
Two things
- Lose the stylesheet_magic.css. it is fighting with stylesheet.css
- Consider taking the mainWrapper to some set width and creating a header image that takes the place of all of it like haredoDOTcom
Re: replacing the "tagline" with a banner
The first step took me closer. Thanks for that.
I had trouble understanding the second piece of advice you had. Went to the website but couldn't see what you meant.
Still, the picture, though it lifted off the bottom a bit, didn't get any closer to the top. It's as if there is a space in there being held for the tagline.
I'm missing something, I think. Thank you for your patience with me.
guy
Re: replacing the "tagline" with a banner
The thing that was done with haredo was to eliminate the logo and sales text and basically empty the logoWrapper.
Right now, a basic Zen main page has
PHP Code:
div id="mainWrapper">
<div id="headerWrapper">
<div id="navMainWrapper">
<div id="logoWrapper">
<div id="logo">
<div id="taglineWrapper">
</div>
If you turned it into
PHP Code:
div id="mainWrapper">
<div id="headerWrapper">
<div id="navMainWrapper">
by removing the entire logoWrapper div and its contents from the templates/YOUR_TEMPLATE/common/tpl_header.php file, you can then concentrate on using a background image in the headerWrapper to replace the other logos. The wrapper will need to be set to whatever height you make your banner. You will need to make the banner the same width as the site. Trying to do a 100% banner can be done but it is VERY tricky. Best to decide on something like 925px and make both the site and the header that width. Haredo used 750.
haredoDOTcom/images/headerwrapper.gif
Note that the upper left and right corners have nothing but color in them so that the "Home | Login" and Search float right on top of the image.
Your stylesheet would reflect something like
Quote:
#headerWrapper {
background-image:url(../images/headerwrapper.gif);
height:125px;
}
You could combine your current log.gif (251 x 236) with the head2.jpg (549 x 236) into one headerwrapper.gif it would already be 800px wide. You could adjust accordingly to make it the width you need. It's what you did on the main site for your header.
Re: replacing the "tagline" with a banner
When installing my system, I made the mistake of choosing /Zencart instead of the my actual .com. When I went to move the system over to the .com, it fell apart link a house of cards. Before I attempted to do this I had made a backup. Unfortunately when I wiped the web drive clean and did a fresh install of the Zencart, I was unable to transfer the files back with any level of success.
I've been working for quite some time now and can't seem to find where the product files are kept. any help in finding them, would be appreciated. Also, if it were possible to restore what I had back, that would be great.
Thanks for any help anyone can provide...
Fun
Re: replacing the "tagline" with a banner
Quote:
Also, if it were possible to restore what I had back, that would be great.
Did you get a database backup (thru phpMyAdmin or similar tool?)
If you have a database backup, you can restore it.
There appear to be some missing files - a quick look at your site reveals missing images (like write a review, etc...)
Suggestion - reload your files from a fresh download of ZenCart.
Hope that helps you.
Tina
Re: replacing the "tagline" with a banner
I moved every file I could see from the web back to my desktop. Could it be that I didn't move any of the database files with it. And if so, if I cleared out the files and reinstalled Zencart and the associated MySql, does that mean those database files are gone now?
If that's not the case, where might I find them in the files I backed up?
I really appreciate your help, Thanks