X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Button only picking up half the "class" (https://forum.x-cart.com/showthread.php?t=54174)

JeanB 06-15-2010 04:19 AM

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 :)

JeanB 06-23-2010 12:35 AM

Re: Button only picking up half the "class"
 
Wednesday morning bump! :)

ARW VISIONS 06-23-2010 05:37 AM

Re: Button only picking up half the "class"
 
please post URL so I can take a look.

JeanB 06-28-2010 12:23 AM

Re: Button only picking up half the "class"
 
Hi Ashley,
Sorry for the delay.

I'll send you a PM! :)

JeanB 07-06-2010 01:33 AM

Re: Button only picking up half the "class"
 
Ashley sorted it - Thanks so much!! :)

For the record, it was just me being an idiot! :)


All times are GMT -8. The time now is 05:48 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.