Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2008
    Posts
    13
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    5,376
    Plugin Contributions
    6

    Default 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
    Did you read the posting tips?!?

  3. #3
    Join Date
    Mar 2008
    Posts
    13
    Plugin Contributions
    0

    Default 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. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    5,376
    Plugin Contributions
    6

    Default 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
    #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.
    Did you read the posting tips?!?

  5. #5
    Join Date
    Mar 2008
    Posts
    13
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,895
    Plugin Contributions
    2

    Default 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

  7. #7
    Join Date
    Mar 2008
    Posts
    13
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. Replacing "... more info" with a button
    By NattyCat in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 18 Apr 2011, 05:13 PM
  2. How to Change "TagLine Here" and "Congratulations"
    By alw16 in forum General Questions
    Replies: 3
    Last Post: 25 Sep 2007, 10:34 PM
  3. Replacing "CONTACT_US" URL
    By Ophelia in forum General Questions
    Replies: 4
    Last Post: 21 Aug 2007, 01:44 AM
  4. Editing "Your Tagline Here" using custom template
    By bgroup99 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Sep 2006, 02:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •