Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Change,Sales message goes here, with image

    I know where to change: Sales message goes here. In header.php

    My question is, instead of a message can a image be inserted there?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Change,Sales message goes here, with image

    You could probably just insert a standard HTML call for an image:

    HTML Code:
    <img src="images/my_image.jpg" alt="This is my image" title="The title of my image" />
    You may need to embed HEIGHT and WIDTH parameters if you need to force the image into a given area... or just size your image to fit.
    20 years a Zencart User

  3. #3
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: Change,Sales message goes here, with image

    Thanks schoolboy for trying to help
    Are you saying insert the code in:
    define('HEADER_SALES_TEXT', '<img src="images/my_image.jpg" alt="This is my image" title="The title of my image" />');

    If so, it does not seam to work.

  4. #4
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: Change,Sales message goes here, with image

    Maybe it does work after all.
    What shows up is the words in red
    define('HEADER_SALES_TEXT', '<img src="images/my_image.jpg" alt="This is my image" title="The title of my image" />');

    I am confused on what to insert in the red highlight words.

  5. #5
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: Change,Sales message goes here, with image

    Found the problem
    I did not have the correct path name to the image.

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Change,Sales message goes here, with image

    ALT and TITLE text should describe what the image is about. People who are blind cannot see the image, and they will probably have text reader software on their computers, where a "voice" will tell them what the image is. This software reads out the text contained in the ALT or TITLE tags.
    20 years a Zencart User

 

 

Similar Threads

  1. I goofed the change for "Sales Message Goes Here
    By itseemedsosimple in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Aug 2009, 07:26 PM
  2. Change Sales Message Goes Here, etc.
    By Alpha_Omega in forum General Questions
    Replies: 1
    Last Post: 28 Feb 2008, 12:40 AM
  3. Help with ... Sales Message Goes Here
    By dragonhorse in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 25 Feb 2007, 05:17 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

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