Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2006
    Posts
    16
    Plugin Contributions
    0

    Default Place image in header sales text?

    Hello everyone

    The answer to this I know is simple...I just cant figure it out.
    I have my own custom template
    I have uploaded my image to images in my custom template
    I have changed my sales text in my custom template header.

    I just want to add an image between my sales text in my header? I have tried many variations of code to make this happen?

    define('HEADER_SALES_TEXT', '<h1><p><strong>Roswell Gear-Roswell New Mexico</strong><br/> <img src=" shoppingcart / includes / templates / mytemplate / images /alien.gif"> <br/>Home of the Ufo-Alien Capital Of The World </h1>');

    http://roswellgear.com/shoppingcart/...php?main_page=

    Thanks
    Blain

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Place image in header sales text?

    Try a full url something like:

    Code:
    define('HEADER_SALES_TEXT', '<img src="http://your_url.com/includes/templates/your_template/images/your_image.jpg">Your Tagline');
    Or
    Code:
    define('HEADER_SALES_TEXT', 'Your Tagline <img src="http://your_url.com/includes/templates/your_template/images/Your Image.jpg">');
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: Place image in header sales text?

    Thanks, that worked. The only thing is I added shoppingcart(my main cart file) just saying that in case someone else reads this. Below is the complet code with some extra strong, h1 and br features.

    define('HEADER_SALES_TEXT','<h1><strong>Roswell Gear-Alien & Ufo Items </strong><br><img
    src="http://roswellgear.com/shoppingcart/includes/templates/mytemplate/images/alien.gif"><br>Roswell, New Mexico</h1>');

  4. #4
    Join Date
    Jan 2010
    Posts
    80
    Plugin Contributions
    0

    Default Re: Place image in header sales text?

    Thanks for this tip,very usefull.

 

 

Similar Threads

  1. v139h styling header sales text
    By charliepingpong in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Mar 2012, 12:46 AM
  2. Use header image in place header_text
    By Ragenther in forum General Questions
    Replies: 0
    Last Post: 15 Dec 2008, 09:38 PM
  3. Header sales text
    By AHeartForTheEarth in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Nov 2008, 10:41 PM
  4. How to place an image in header.
    By Graphicman in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 24 Feb 2008, 06:58 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