Forums / Customization from the Admin / replacing the "tagline" with a banner

replacing the "tagline" with a banner

Locked

Views: 5,145

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
3 Apr 2008, 2:57 AM
#1
fungai avatar

fungai

New Zenner

Join Date:
Mar 2008
Posts:
15
Plugin Contributions:
0

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: https://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

3 Apr 2008, 3:24 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,864
Plugin Contributions:
18

Re: replacing the "tagline" with a banner

Two things

  1. Lose the stylesheet_magic.css. it is fighting with stylesheet.css
  2. Consider taking the mainWrapper to some set width and creating a header image that takes the place of all of it like haredoDOTcom

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

3 Apr 2008, 11:14 PM
#3
fungai avatar

fungai

New Zenner

Join Date:
Mar 2008
Posts:
15
Plugin Contributions:
0

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

4 Apr 2008, 3:15 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,864
Plugin Contributions:
18

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
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 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 > #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.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

14 Jun 2008, 4:34 AM
#5
fungai avatar

fungai

New Zenner

Join Date:
Mar 2008
Posts:
15
Plugin Contributions:
0

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

14 Jun 2008, 4:45 AM
#6
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: replacing the "tagline" with a banner

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

15 Jun 2008, 12:06 PM
#7
fungai avatar

fungai

New Zenner

Join Date:
Mar 2008
Posts:
15
Plugin Contributions:
0

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