I noticed on my 'Best Sellers' and 'Newest Products' that because some of my product names wrapped onto two lines the second line started inline with the number rather than the text.
I have therefore added a <div> tag to correct this. Now from a layout point a view this works fine. However, now the only links that work now are those that wrap onto a second line, those on a single line do not.
You can see that I mean at www.viteyes.co.uk
The code I am now using is:
<actinic:variable name="ListIndex" />.<DIV style="margin-left:12px; margin-top:-14px;"><a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>"><Actinic:Variable Name="ProductName"/></a></DIV>
<!-- <actinic:variable name="ProductImageLayout" /> -->
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
<!-- (Ref: <actinic:variable Name="ProductReference" />) -->
</actinic:block>
<!-- <actinic:variable name="PriceListRetail" /> -->
The only bits I have added are the <DIV style="margin-left:12px; margin-top:-14px;"> 7 </DIV>
James
I have therefore added a <div> tag to correct this. Now from a layout point a view this works fine. However, now the only links that work now are those that wrap onto a second line, those on a single line do not.
You can see that I mean at www.viteyes.co.uk
The code I am now using is:
<actinic:variable name="ListIndex" />.<DIV style="margin-left:12px; margin-top:-14px;"><a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>"><Actinic:Variable Name="ProductName"/></a></DIV>
<!-- <actinic:variable name="ProductImageLayout" /> -->
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
<!-- (Ref: <actinic:variable Name="ProductReference" />) -->
</actinic:block>
<!-- <actinic:variable name="PriceListRetail" /> -->
The only bits I have added are the <DIV style="margin-left:12px; margin-top:-14px;"> 7 </DIV>
James
Comment