As previously confessed, my primary expertise is Wordpress and I am quite new to CS Cart. I’ve worked with Smarty Templates before but I wouldn’t claim to be an expert by any stretch.
I spent a few hours trying to figure out how to assign a link hover class to products in grid view.
I added this link class to styles.css:
<style type="text/css"><br />
a.box:link, a.box:active, a.box:visited {padding:2px; border: 5px solid #0F004E;}<br />
a.box:hover {padding:2px; border: 5px solid #E36F1E;}<br />
</style>
```<br />
<br />
The template that I've chosen to modify is grid_list.tpl. On this template, I've rearranged the text link and add to cart button to appear centered below the product image. I've added this "box" link class to the link in the template but the only part that is affected is the empty space between the image and the product text link. <br />
<br />
Here is the link reference from grid_list.tpl:<br />
<br />
```php
<a href="{$index_script}?dispatch=products.view&product_id={$product.product_id}">{include file="common_templates/image.tpl" image_width=$settings.Appearance.thumbnail_width obj_id=$obj_id_prefix images=$product.main_pair object_type="product"}</td></tr><br />
```<br />
<br />
When I analyze this code using Firefox's Firebug, I can see that it refers to the space between product image and link text. How can I alter this href to include the product image too so I can add "effects" to it? If I am chasing the wrong mouse, someone please put me on the right trail.<br />
<br />
Thanks.