- Posts: 6
- Thank you received: 0
Problem changing button style, arghh
- WhizZRinaldo
-
Topic Author
- Offline
Less
More
15 years 8 months ago #4543
by WhizZRinaldo
Problem changing button style, arghh was created 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.
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.
15 years 8 months ago #4546
by nicolas
Replied by nicolas on topic Re: Problem changing button style, arghh
Could you give the URL of your website ?
Please Log in or Create an account to join the conversation.
- WhizZRinaldo
-
Topic Author
- Offline
Less
More
- Posts: 6
- Thank you received: 0
15 years 8 months ago #4547
by WhizZRinaldo
Replied by WhizZRinaldo on topic Re: Problem changing button style, arghh
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.
15 years 8 months ago - 15 years 8 months ago #4549
by nicolas
Replied by nicolas on topic Re: Problem changing button style, arghh
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:
by:
surrounded by the PHP open and close tags: <?php and ?>
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>
Code:
echo $this->cart->displayButton(JText::_('NEW'),'new',$this->params,'','return false;');
Last edit: 15 years 8 months ago by nicolas.
Please Log in or Create an account to join the conversation.
- WhizZRinaldo
-
Topic Author
- Offline
Less
More
- Posts: 6
- Thank you received: 0
15 years 8 months ago #4555
by WhizZRinaldo
Replied by WhizZRinaldo on topic Re: Problem changing button style, arghh
nicolas wrote:
You just made my day. I love you
:side: :woohoo:
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:by:Code:<input type="button" name="new" value="<?php echo JText::_('NEW');?>"></input>surrounded by the PHP open and close tags: <?php and ?>Code:echo $this->cart->displayButton(JText::_('NEW'),'new',$this->params,'','return false;');
You just made my day. I love you
:side: :woohoo: Please Log in or Create an account to join the conversation.
Time to create page: 0.166 seconds