View Single Post
  #1  
Old 06-15-2010, 04:19 AM
  JeanB's Avatar 
JeanB JeanB is offline
 

eXpert
  
Join Date: Oct 2009
Location: Worcestershire, UK
Posts: 217
 

Default Button only picking up half the "class"

Hi All,
I've had a search around, but can't find an answer to this, or where on earth I'm going wrong. I've spent far too long trying to get this button to work!

I've added a "More info" button, instead of the see details text link - I have also moved it to be near the "Buy Now" button.

However, it's only picking up half of its class & I really don't know why! The button itself works fine & takes you to the correct place - In both Firefox & IE (Eventually!)

http://i16.photobucket.com/albums/b49/BeanJardo/Work/buttonissue.jpg


Button:

Quote:
{include file="customer/buttons/moreinfo.tpl" href="product.php?productid=`$product.productid`&a mp;cat=`$cat`&page=`$navigation_page`" additional_button_class="more-info"}

Moreinfo.tpl:

Quote:

{include file="customer/buttons/button.tpl" button_title="More Info"}

I have used Firebug & it is actually picking up the wrong class (It's picking up the default "button" class, for some reason!) The only thing I can think of is that I haven't got a 'type' - But the button works - So I don't know if it's needed, or what it would be!?.

There is a "left" section to the button & I know this to be correctly set up, as it is a copy of the ones that I have created in the cart area, previously.

Really sorry if this is something utterly simple, but I've been looking at it for so long now that I can't tell anymore!


Many thanks,

Jean
__________________
4.2.3
X-Cart Gold
BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers
-------[installed]----------------------[installed]--------------[installed]----[installed]--



5: in development
Reply With Quote