Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Breadcrumb 'Home' link has turned into an image!

    I replaced the text links to Home, Login, My Account etc in header.php with images.
    All is good, except that the Home link in the breadcrumb navigation has adopted the image I used for the home link in the header.

    See the problem at http://www.tradersupplies.co.uk

    What do I need to edit so that "home" in the breadcrumb trail is text and not an image.

    Cheers
    Dunc

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

    Default Re: Breadcrumb 'Home' link has turned into an image!

    What exactly did you do to replace the text links with images?
    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
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Breadcrumb 'Home' link has turned into an image!

    I modified the code in header.php to replace the words Home with an image file...

    PHP Code:
      define('HEADER_TITLE_CATALOG''<img src="http://www.tradersupplies.co.uk/includes/templates/template_tradersupplies/images/home.gif">'); 

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

    Default Re: Breadcrumb 'Home' link has turned into an image!

    Well - that define is obviously used in the other places where the button is showing - if you want a button ONLY in the header you will need to modify the tpl_header.php.

    BTW- You do not want to use absolute links to images or you will have problems when you use SSL on your site.
    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.

  5. #5
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Breadcrumb 'Home' link has turned into an image!

    Got ya, thanks Kim! Also, thanks for the tip about absolute links, I'd completely forgotten about that.

  6. #6
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Breadcrumb 'Home' link has turned into an image!

    What am I doing wrong!?

    I'm trying to switch all my image links to relative links. Easy enough, except I can't for the life of me get them to work...

    my image file is located here:
    /public_html/includes/templates/mytemplate/images/

    My relative links in the stylesheet seem to work
    ../images/example.gif, for example.

    But I'm also trying to add relative links for images I've linked to in header.php, I thought it would be like...

    ../../../templates/mytemplate/images/example.gif

    Doesn't seem to be working though! What am I doing wrong?

    Thanks in advance!

  7. #7
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Breadcrumb 'Home' link has turned into an image!

    Sorted.
    I was forgetting, the file is loaded into index.php, hence all file paths should go from the root.

 

 

Similar Threads

  1. v151 Home link image also showing in footer and breadcrumb
    By barendfaber in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Jun 2013, 06:26 AM
  2. Main page text has turned into a link!
    By m4rtyj in forum Customization from the Admin
    Replies: 1
    Last Post: 7 Aug 2010, 01:03 PM
  3. Define text for Breadcrumb Home link?
    By kirkbross in forum Basic Configuration
    Replies: 4
    Last Post: 24 Mar 2010, 03:09 PM
  4. Changing home link in breadcrumb
    By chrisp8756 in forum General Questions
    Replies: 10
    Last Post: 5 Apr 2007, 03:32 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