Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    15
    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
    9,108
    Plugin Contributions
    11

    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

  3. #3
    Join Date
    Mar 2008
    Posts
    15
    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
    9,108
    Plugin Contributions
    11

    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.

  5. #5
    Join Date
    Mar 2008
    Posts
    15
    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,911
    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

 

 

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. Replacing "Filter Results by ABC" with "Sort by: Price, Date added"
    By vandiermen in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Aug 2010, 09:18 AM
  3. Replacing "Contact Form" with my own
    By flipperry in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jul 2010, 04:23 PM
  4. Replacing "model" with "part number"
    By enigma666666 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 26 May 2010, 09:52 PM
  5. Replacing "Buy Now" button with Product URL
    By kaulpo in forum General Questions
    Replies: 3
    Last Post: 12 Jul 2009, 02:08 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR