Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image - Click To Enlarge


craigan

Recommended Posts

Posted

On the product page that displays the image, with the anchor text "Click To Enlarge" just below it.... where can I change the size of the text for "Click To Enlarge" ?

 

Many thanks!!!

Posted

There are two places you can do this...

 

1 is in Stylesheet.css where you would need to alter the text size for the <A> tag... but thats going to affect every link in your store.

 

2 In the product_info.php file, about line 108 you should see this; but without the bits shown in red... the bits in red are what you could add to change the writing size, 7 is very big....

 

hope that makes sense...

 

<script language="javascript"><!--

document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br> <font size="7">' . TEXT_CLICK_TO_ENLARGE . '</font> </a>'; ?>');

//--></script>

<noscript>

<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br> <font size="7">' . TEXT_CLICK_TO_ENLARGE . '</font> </a>'; ?>

</noscript>

 

 

On the product page that displays the image, with the anchor text "Click To Enlarge" just below it.... where can I change the size of the text for "Click To Enlarge" ?

 

Many thanks!!!

Archived

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

×
×
  • Create New...