Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default How can I replace the tagline text with an image?

    Hi folk,

    This should be easy, but that means I can't figure it out.

    In languages/english/header.php I have...

    Code:
      define('HEADER_ALT_TEXT', '');
      define('HEADER_SALES_TEXT', 'my tagline text');
      define('HEADER_LOGO_WIDTH', '130');
      define('HEADER_LOGO_HEIGHT', '270');
      define('HEADER_LOGO_IMAGE', 'TDP_logo_med.jpg');
    I should be able to simply make a GIF, put it in the same folder as my logo, change the tagline text to the name of the GIF (just like in the logo line above) and that'll work, right? Nope! I just got the alt text for the GIF.

    I want to do this because I don't like the very generic look of the tagline font. It needs more pizzazz, but you can't depend on others having fancy fonts available on their machines, so I'll use the font I want here and make it a graphic instead.

    Can someone clarify for me how to make my GIF appear? (Yes, I did search the forums, and was surprised not to find an answer.)

    Thanks,

    Rob

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: How can I replace the tagline text with an image?

    define('HEADER_SALES_TEXT', '<img src="images/my_gif.gif" />');

    Or you could use the banner manger to place an image in the same area - note: don't use the banners directory - some ad blockers will block the.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: How can I replace the tagline text with an image?

    Thanks Kim,

    I had not used the right format for the image call. I'd left it plain, like the logo call below it. But I guess the difference is that Zen expects the logo to be a graphic and knows where it is, but the tagline is expected to be text, so the image call has to be more specific.

    I'll [try to] remember that.

    Rob

 

 

Similar Threads

  1. Replies: 2
    Last Post: 30 Jul 2014, 11:58 AM
  2. Can I replace "larger image" text with a .gif image button?
    By limelites in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 24 Oct 2009, 10:11 AM
  3. how to replace sales text with an image
    By pRS317 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Jun 2008, 04:03 AM
  4. can I replace the breadcrumb separator with a gif image, and if so, how?
    By lankeeyankee in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Mar 2008, 06:18 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