Jump to content

[SOLVED] Added additional link to Blockpermanentlinks, but icon not showing


Recommended Posts

I've been trying to work out why this is not showing, but am stumped. I wanted to add a "Home" and "Specials" icon to the Blockpermanentlinks module.

I made a backup and then copied and pasted the "Contact" lines from the blockpermanentlinks.tpl and blockpermanentlinks-header.tpl and carefully changed "Contact" to "Index.php' and "Home" where necessary. I then copied a new home.gif icon over to the themes/img/icons folder.

I went to my shop and the new "Home" link looks and functions as it should (very pleased at myself considering I have no idea what I'm doing :-) ), but the only thing that is missing, is the icon. Any ideas?

www.goldgalleon.com

17515_DIHtJrRzdUTcHsLStDMu_t

17516_aDfCod8OJSEYlelfaADF_t

17517_l43EkGL7bBfLDlhVnz4J_t

17518_y7R4jxhWlt2gVFw7q3WO_t

Link to comment
Share on other sites

[solved]

I was playing around with the global CSS file (for something else) and figured out I had to add the following in the CSS file for the icon to show:

#header_links #header_link_home a {
   background-image: url('../img/icon/home.gif');
}

Link to comment
Share on other sites

  • 5 weeks later...

I added that same link in the CSS global file, but when I try and save it it states it will save it as a text document and remove the formating. I have checked my syntax several times. This is what it was before:

#header_links #header_link_sitemap a {
background-image: url('../img/icon/sitemap.gif');
}
#header_links #header_link_contact a {
background-image: url('../img/icon/contact.gif');
}
#header_links #header_link_bookmark a {
background-image: url('../img/icon/star.gif');
}

and this is what I want to change it to:

#header_links #header_link_home a {
background-image: url('../img/icon/home.gif');
}
#header_links #header_link_sitemap a {
background-image: url('../img/icon/sitemap.gif');
}
#header_links #header_link_contact a {
background-image: url('../img/icon/contact.gif');
}
#header_links #header_link_bookmark a {
background-image: url('../img/icon/star.gif');
}

Can somebody help? I have a gif file with that name and a line command in the blockpermanentlinks file.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...