Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Dec 2008
    Posts
    14
    Plugin Contributions
    0

    Default Adding image to header.php, replacing sales message

    Hello,

    Is there a way to replace

    define('HEADER_SALES_TEXT', Sales Message Goes Here);

    In header.php with an image? I'd like to add a banner in this location on the header replacing the sales message. Everything I attempt results in my website displaying a completely blank page.

    Thank you in advance!

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Adding image to header.php, replacing sales message

    Scroll down this very page...LINKS to similar previous queries
    i.e.

    http://www.zen-cart.com/forum/showthread.php?t=42803


  3. #3
    Join Date
    Dec 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Adding image to header.php, replacing sales message

    Quote Originally Posted by misty View Post
    Scroll down this very page...LINKS to similar previous queries
    i.e.

    http://www.zen-cart.com/forum/showthread.php?t=42803

    Thank you, this worked!!

    However now I have no idea how to move it around like the logo file. The Tagline options in the CSS file don't seem to do anything with the image.

  4. #4
    Join Date
    Dec 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Adding image to header.php, replacing sales message

    Well 30 min after I posed I was able to figure it out!

    For anyone with this questions, its the #TaglineWrapper

    #taglineWrapper {
    width:auto;
    float:right;
    padding-right:25px;

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Adding image to header.php, replacing sales message

    Thanks for posting your solution. It'll help another Zenner in future.

  6. #6
    Join Date
    Sep 2008
    Location
    California
    Posts
    40
    Plugin Contributions
    0

    Default Re: Adding image to header.php, replacing sales message

    Is anyone still monitoring this thread?
    I have followed these instructions to use an image rather than text, but I am having problems placing the image.

    Can anyone help?

    I hope someone is listening!
    - Jim Scott

  7. #7
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Adding image to header.php, replacing sales message

    Quote Originally Posted by waytoolate View Post
    Is anyone still monitoring this thread?
    I have followed these instructions to use an image rather than text, but I am having problems placing the image.

    Can anyone help?

    I hope someone is listening!
    - Jim Scott
    Url of your zencart is? Can then explain what you need to add to certain files...

  8. #8
    Join Date
    Sep 2008
    Location
    California
    Posts
    40
    Plugin Contributions
    0

    Default Re: Adding image to header.php, replacing sales message

    Misty -
    Thank you for your reply! You have been a big help to me in the past...

    My shop can be seen at: http://www.carded.biz/shop

    This shows the two main issues I am having...
    http://www.carded.biz/shop/index.php...&products_id=5
    I have detailed my issues in another post:
    http://www.zen-cart.com/forum/showth...=99124&page=21
    But I have not received any response. The problem seems to be peculiar to the ZJ Black template.

    Anything you can do to enlighten me will be appreciated!

  9. #9
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Adding image to header.php, replacing sales message

    One issue at a time...this thread deals with adding images
    to sales message....
    Image should be coded as per post at
    http://www.zen-cart.com/forum/showpo...86&postcount=2
    with stylesheet altered to suit as prer previous post in this
    thread i.e.
    Code:
    #taglineWrapper {
    width:auto;
    float:right;
    padding-right:25px;

  10. #10
    Join Date
    Sep 2008
    Location
    California
    Posts
    40
    Plugin Contributions
    0

    Default Re: Adding image to header.php, replacing sales message

    Misty -
    Thanks for the response! (It feels good to know someone is willing to help!) My code changes to /languages/english/header.php were done according to the post you referenced. (Except, I do not have any text - just the image.) This part works as expected.

    I inserted your suggested code change to: /includes/templates/zjblack/css/stylesheet.css However, that stylesheet does not have a "taglineWrapper" it only has "tagline". Replacing your code in this part of the stylesheet, did not raise the image into the header section - but it did push the rest of the page down below that image (they are no longer superimposed).

    If I use the Firebug tool in FireFox, I can inspect the page and the HTML code is showing a <div id taglineWrapper.

    Where is being picked up?
    Thanks for your patience...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Additional Image Replacing Existing Image Instead of Adding as a Second Image
    By Allaction in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 30 Apr 2013, 11:56 PM
  2. Replacing Header Image
    By kahu in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Aug 2008, 11:50 PM
  3. Header.php and sales message
    By ZanyZack in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Jul 2008, 03:55 PM
  4. how to change the text on header?(Sales Message Goes Here)
    By charley518 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Nov 2006, 10:08 AM
  5. turn off sales message and change alt in header
    By usernamenone in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Nov 2006, 11:03 PM

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