New Zenner
- Join Date:
- Mar 2010
- Posts:
- 33
- Plugin Contributions:
- 0
Post #1 by flix
I am torturing myself for days now. Maybe one of you has an idea how to solve that:
GOAL 1:
I want to change the font style of product name links in the** normal products listing**.
GOAL 2:
I want to change the font style of product name links in the specials listing.
PRECONDITION:
I do not want to change the font style of all my links in the cart. Only the links in the above mentioned listings.
GOAL 1 is pretty easy to achieve: You just define your new link style in the css stylesheet (/includes/templates/YOUR_TEMPLATE/css) e.g. as follows:
a.other_style:link {
color:#052b62;
text-decoration:none;
font-weight:normal;
}
a.other_style:visited {
color:#111111;
text-decoration:none;
font-weight:normal;
}
Then, you go and change the template product_listing.php (/includes/modules/YOUR_TEMPLATE) as follows:
Before change:
$lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']),....
After change:
$lc_text = '<h3 class="itemTitle"><a class="other_style" href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']),....
For GOAL 2 I would like to do exactly the same for the special products listing, but I am just not able to find the file/template with the <a href="....> tag.
Does anybody have a clue in which file the the product name links for the specials listing are defined?????
By the way: Changing the style of the h3 tag seems to have absolutely no impact on my special products listing?!?!?!!?