Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Button only picking up half the "class"

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #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
  #2  
Old 06-23-2010, 12:35 AM
  JeanB's Avatar 
JeanB JeanB is offline
 

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

Default Re: Button only picking up half the "class"

Wednesday morning bump!
__________________
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
  #3  
Old 06-23-2010, 05:37 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Button only picking up half the "class"

please post URL so I can take a look.
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
JeanB (07-06-2010)
  #4  
Old 06-28-2010, 12:23 AM
  JeanB's Avatar 
JeanB JeanB is offline
 

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

Default Re: Button only picking up half the "class"

Hi Ashley,
Sorry for the delay.

I'll send you a PM!
__________________
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
  #5  
Old 07-06-2010, 01:33 AM
  JeanB's Avatar 
JeanB JeanB is offline
 

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

Default Re: Button only picking up half the "class"

Ashley sorted it - Thanks so much!!

For the record, it was just me being an idiot!
__________________
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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:26 PM.

   

 
X-Cart forums © 2001-2020