Skip to main content

Problem changing button style, arghh

More
15 years 8 months ago #4543 by WhizZRinaldo
Hi,

i'm trying to change the style of a button but it's making me crazy cause it won't work.

it's the button on the Address page ( the New Address button )


As you can see, the bottom button is perfect, as for the top button. it's not. ( only the background?¿? )
I tried searching every CSS file but i just cant find it :(

Cant somebody help me out here? thanks.

Please Log in or Create an account to join the conversation.

More
15 years 8 months ago #4546 by nicolas
Could you give the URL of your website ?

Please Log in or Create an account to join the conversation.

More
15 years 8 months ago #4547 by WhizZRinaldo
Well it's offline since nobody may enter it atm. why you need it ? if you need some info you can ask it. i did try the 'inspect element' feature in chrome but that did not help either.

Please Log in or Create an account to join the conversation.

More
15 years 8 months ago - 15 years 8 months ago #4549 by nicolas
Using firebug addon for firefox, you can inspect and tweak CSS on the fly which is really helpful to understand/fix/test all CSS issues.

Anyway, that button isn't made like the other one so that's why by default it may have a different look. YOu can just edit the file components/com_hikashop/views/checkout/tmpl/address_view.php and replace the line:
Code:
<input type="button" name="new" value="<?php echo JText::_('NEW');?>"></input>
by:
Code:
echo $this->cart->displayButton(JText::_('NEW'),'new',$this->params,'','return false;');
surrounded by the PHP open and close tags: <?php and ?>
Last edit: 15 years 8 months ago by nicolas.

Please Log in or Create an account to join the conversation.

More
15 years 8 months ago #4555 by WhizZRinaldo
nicolas wrote:

Using firebug addon for firefox, you can inspect and tweak CSS on the fly which is really helpful to understand/fix/test all CSS issues.

Anyway, that button isn't made like the other one so that's why by default it may have a different look. YOu can just edit the file components/com_hikashop/views/checkout/tmpl/address_view.php and replace the line:

Code:
<input type="button" name="new" value="<?php echo JText::_('NEW');?>"></input>
by:
Code:
echo $this->cart->displayButton(JText::_('NEW'),'new',$this->params,'','return false;');
surrounded by the PHP open and close tags: <?php and ?>


You just made my day. I love you <3 :side: :woohoo:

Please Log in or Create an account to join the conversation.

Time to create page: 0.193 seconds
Powered by Kunena Forum