[Skip to main content](#vessel-content)

#   Problem changing button style, arghh

##

- **[WhizZRinaldo](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile")**
- [![WhizZRinaldo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile") Topic Author
- [ Offline](/forum/user/612-whizzrinaldo)

Less More

- Posts: 6
- Thank you received: 0
-
-

15 years 9 months ago [\#4543](#4543) by [WhizZRinaldo](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile")  *[Problem changing button style, arghh](/forum/2-general-talk-about-hikashop/4543-problem-changing-button-style-arghh#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.")* was created by *[WhizZRinaldo](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile")*

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 )
[ ![&#91;img](http://img153.imageshack.us/img153/2915/buttonip.png) ](http://img153.imageshack.us/img153/2915/buttonip.png "&#91;img")

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 ![:(](/media/kunena/emoticons/5.png ":(")

Cant somebody help me out here? thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ1NDMtcHJvYmxlbS1jaGFuZ2luZy1idXR0b24tc3R5bGUtYXJnaGg/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 9 months ago [\#4546](#4546) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem changing button style, arghh](/forum/2-general-talk-about-hikashop/4543-problem-changing-button-style-arghh#4546 "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.")*

Could you give the URL of your website ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ1NDMtcHJvYmxlbS1jaGFuZ2luZy1idXR0b24tc3R5bGUtYXJnaGg/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[WhizZRinaldo](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile")**
- [![WhizZRinaldo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile") Topic Author
- [ Offline](/forum/user/612-whizzrinaldo)

Less More

- Posts: 6
- Thank you received: 0
-
-

15 years 9 months ago [\#4547](#4547) by [WhizZRinaldo](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile")  Replied by *[WhizZRinaldo](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile")* on topic *[Re: Problem changing button style, arghh](/forum/2-general-talk-about-hikashop/4543-problem-changing-button-style-arghh#4547 "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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ1NDMtcHJvYmxlbS1jaGFuZ2luZy1idXR0b24tc3R5bGUtYXJnaGg/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 9 months ago -  15 years 9 months ago [\#4549](#4549) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem changing button style, arghh](/forum/2-general-talk-about-hikashop/4543-problem-changing-button-style-arghh#4549 "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.")*

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:

&lt;input type="button" name="new" value="&lt;?php echo JText::_('NEW');?&gt;"&gt;&lt;/input&gt;

by: Code:

echo $this-&gt;cart-&gt;displayButton(JText::_('NEW'),'new',$this-&gt;params,'','return false;');

surrounded by the PHP open and close tags: &lt;?php and ?&gt;

Last edit: 15 years 9 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ1NDMtcHJvYmxlbS1jaGFuZ2luZy1idXR0b24tc3R5bGUtYXJnaGg/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[WhizZRinaldo](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile")**
- [![WhizZRinaldo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile") Topic Author
- [ Offline](/forum/user/612-whizzrinaldo)

Less More

- Posts: 6
- Thank you received: 0
-
-

15 years 9 months ago [\#4555](#4555) by [WhizZRinaldo](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile")  Replied by *[WhizZRinaldo](/forum/user/612-whizzrinaldo "View WhizZRinaldo's Profile")* on topic *[Re: Problem changing button style, arghh](/forum/2-general-talk-about-hikashop/4543-problem-changing-button-style-arghh#4555 "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.")*

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

You just made my day. I love you ![&lt;3](/heart.gif "&lt;3") :side: :woohoo:

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ1NDMtcHJvYmxlbS1jaGFuZ2luZy1idXR0b24tc3R5bGUtYXJnaGg/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.177 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
