Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Login/Create Account. Replacing Text with Images?

Doc Holliday

Recommended Posts



I wanted to change the Log In and Create an Account text in the header to an image. I found the following code elsewhere on the forum (obviously changing file names to suit my needs):


<td width="134" align="center" valign="middle"><div align="center"><span class="main">

<?php echo '<a href="' . tep_href_link(FILENAME_LOGIN) . '">' . tep_image(DIR_WS_IMAGES . 'login.jpg', 'Log In') . '</a>'; echo '<a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT) . '">' . tep_image(DIR_WS_IMAGES . 'create.jpg', 'Create an Account') . '</a>'; ?>


I added that, and I commented out the following:


<?php echo tep_customer_greeting(); ?>


It worked fine except online, this route didn't go via ssl.


Can anyone help me with a way to do this properly please. I did try to add img src + etc., in the english file (as per changing category box title to an image) but it gave me the css files A + A:Hover colour.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...