Problem changing button style, arghh

  • Posts: 6
  • Thank you received: 0
13 years 10 months ago #4543

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.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 10 months ago #4546

Could you give the URL of your website ?

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

  • Posts: 6
  • Thank you received: 0
13 years 10 months ago #4547

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.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 10 months ago #4549

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:

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

Last edit: 13 years 10 months ago by nicolas.

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

  • Posts: 6
  • Thank you received: 0
13 years 10 months ago #4555

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:

<input type="button" name="new" value="<?php echo JText::_('NEW');?>"></input>
by:
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.042 seconds
Powered by Kunena Forum