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

#   Edit button css command

##

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

Less More

- Posts: 44
- Thank you received: 3
-
-

5 years 5 months ago [\#333294](#333294) by [dean](/forum/user/61575-dean "View dean's Profile")  *[css question](/forum/32-content-creation/902739-edit-button-css-command#333294 "-- url of the page with the problem -- :   www.xyznetworks.com.au  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Trying to change the colour of the &quot;New&quot; button on the order page. Current css is:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }  If I throw that in my custom css file using this:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #2ba3d4; border-color: #4cae4c; }  The button colours aren't changing. Am I caling the right element in my CSS?")* was created by *[dean](/forum/user/61575-dean "View dean's Profile")*

-- url of the page with the problem -- : [ www.xyznetworks.com.au](http://www.xyznetworks.com.au)
-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9.27

Trying to change the colour of the "New" button on the order page. Current css is:

.hika_j2 .btn-success, .hikabtn-success {
color: #fff;
background-color: #5cb85c;
border-color: #4cae4c;
}

If I throw that in my custom css file using this:

.hika_j2 .btn-success, .hikabtn-success {
color: #fff;
background-color: #2ba3d4;
border-color: #4cae4c;
}

The button colours aren't changing. Am I caling the right element in my CSS?

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 5 months ago -  5 years 5 months ago [\#333308](#333308) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[css question](/forum/32-content-creation/902739-edit-button-css-command#333308 "-- url of the page with the problem -- :   www.xyznetworks.com.au  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Trying to change the colour of the &quot;New&quot; button on the order page. Current css is:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }  If I throw that in my custom css file using this:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #2ba3d4; border-color: #4cae4c; }  The button colours aren't changing. Am I caling the right element in my CSS?")*

Hello,

We will need to see by ourselves the page in order to understand the context and be able to better guide you.
Can you provide an **Url link** to the context, and if required some **user access** to be able to reach it.

**Note :** For provide secret references, use our **[ Contact us](https://www.hikashop.com/support/contact-us.html)** form and don't forget to add an **Url link to this subject**.
Regards

Last edit: 5 years 5 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 44
- Thank you received: 3
-
-

5 years 5 months ago [\#333339](#333339) by [dean](/forum/user/61575-dean "View dean's Profile")  Replied by *[dean](/forum/user/61575-dean "View dean's Profile")* on topic *[css question](/forum/32-content-creation/902739-edit-button-css-command#333339 "-- url of the page with the problem -- :   www.xyznetworks.com.au  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Trying to change the colour of the &quot;New&quot; button on the order page. Current css is:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }  If I throw that in my custom css file using this:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #2ba3d4; border-color: #4cae4c; }  The button colours aren't changing. Am I caling the right element in my CSS?")*

[ www.xyznetworks.com.au/](http://www.xyznetworks.com.au/) - there is a link to shopping cart sidebar-a front page and you will have to go and order something. There is a free product you can add to the cart

Pic attached shows what I am trying to change re the background dropdown of the cart. The code I posted is an attempt to change the colour of the green buttons in the other image. I also want to change the "Billing address" text colour, white backgrounds

Have emailed site login details

- [ ![cart.png](/forum/attachment/52918) ](/forum/attachment/52918 "cart.png") [ ](/forum/attachment/52918?download=1 "cart.png")
- [ ![cart2.png](/forum/attachment/52919) ](/forum/attachment/52919 "cart2.png") [ ](/forum/attachment/52919?download=1 "cart2.png")

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 5 months ago -  5 years 5 months ago [\#333357](#333357) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[css question](/forum/32-content-creation/902739-edit-button-css-command#333357 "-- url of the page with the problem -- :   www.xyznetworks.com.au  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Trying to change the colour of the &quot;New&quot; button on the order page. Current css is:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }  If I throw that in my custom css file using this:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #2ba3d4; border-color: #4cae4c; }  The button colours aren't changing. Am I caling the right element in my CSS?")*

Hello,

I was able to add the custom css command, you can now see it by yourself, now in order to learn how I proceed, have a look on this **[ documentation](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom)**.

Hope this will help you to achieved what you need.
Regards

Last edit: 5 years 5 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 44
- Thank you received: 3
-
-

5 years 5 months ago [\#333360](#333360) by [dean](/forum/user/61575-dean "View dean's Profile")  Replied by *[dean](/forum/user/61575-dean "View dean's Profile")* on topic *[css question](/forum/32-content-creation/902739-edit-button-css-command#333360 "-- url of the page with the problem -- :   www.xyznetworks.com.au  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Trying to change the colour of the &quot;New&quot; button on the order page. Current css is:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }  If I throw that in my custom css file using this:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #2ba3d4; border-color: #4cae4c; }  The button colours aren't changing. Am I caling the right element in my CSS?")*

Hi Phillip and I can not see what you did. the site still shows the white background, no change to the css file and no code anywhere

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

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

Less More

- Posts: 44
- Thank you received: 3
-
-

5 years 5 months ago [\#333362](#333362) by [dean](/forum/user/61575-dean "View dean's Profile")  Replied by *[dean](/forum/user/61575-dean "View dean's Profile")* on topic *[css question](/forum/32-content-creation/902739-edit-button-css-command#333362 "-- url of the page with the problem -- :   www.xyznetworks.com.au  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Trying to change the colour of the &quot;New&quot; button on the order page. Current css is:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }  If I throw that in my custom css file using this:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #2ba3d4; border-color: #4cae4c; }  The button colours aren't changing. Am I caling the right element in my CSS?")*

I asked if this was correct:

.hika_j2 .btn-success, .hikabtn-success {
color: #fff;
background-color: #2ba3d4;
border-color: #4cae4c;
}

The button colours aren't changing. Am I calling the right element in my CSS?

You did not answer that question

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 5 months ago [\#333365](#333365) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[css question](/forum/32-content-creation/902739-edit-button-css-command#333365 "-- url of the page with the problem -- :   www.xyznetworks.com.au  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Trying to change the colour of the &quot;New&quot; button on the order page. Current css is:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }  If I throw that in my custom css file using this:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #2ba3d4; border-color: #4cae4c; }  The button colours aren't changing. Am I caling the right element in my CSS?")*

Hello,

Yes, your code is correct, that's why I investigate directly in your backend to process somes tests.
To better understand my answer, you have to look my previous documentation link, in your backend, I create a **custom** version of the **default frontend css** file, and **your** css command (posted in this [ here](https://www.hikashop.com/forum/content-creation/902739-css-question.html#333294)) are at the end of this custom frontend css file.

And so, now your button shown in your **second** screenshot are blue, and you can proceed like me to going more far in your adjustement and customisations.
Hope this will be more clear, and will show you how to proceed.
Regards

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

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

Less More

- Posts: 44
- Thank you received: 3
-
-

5 years 5 months ago [\#333379](#333379) by [dean](/forum/user/61575-dean "View dean's Profile")  Replied by *[dean](/forum/user/61575-dean "View dean's Profile")* on topic *[css question](/forum/32-content-creation/902739-edit-button-css-command#333379 "-- url of the page with the problem -- :   www.xyznetworks.com.au  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Trying to change the colour of the &quot;New&quot; button on the order page. Current css is:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }  If I throw that in my custom css file using this:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #2ba3d4; border-color: #4cae4c; }  The button colours aren't changing. Am I caling the right element in my CSS?")*

Dear Philip...... I know how to create a custom css file as there is already a file there with multiple css changes in it..... and you probably noticed several attempts at fixing this that didn't work. So wouldn't you think it a little more productive to actually SHOW me what you did?

So.... what code did you "add" to the file that already existed?

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 5 months ago -  5 years 5 months ago [\#333387](#333387) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[css question](/forum/32-content-creation/902739-edit-button-css-command#333387 "-- url of the page with the problem -- :   www.xyznetworks.com.au  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Trying to change the colour of the &quot;New&quot; button on the order page. Current css is:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }  If I throw that in my custom css file using this:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #2ba3d4; border-color: #4cae4c; }  The button colours aren't changing. Am I caling the right element in my CSS?")*

Hello,

Actually, I though that this is what I did, lets details it on more time :
**Part 2 :** "in **your** backend, I create a **custom** version of the **default frontend css** file"
**Part 3 :** "**your** css command (posted in this [ here](https://www.hikashop.com/forum/content-creation/902739-css-question.html#333294)) are **at the end** of this **custom** frontend css file."
**Part 1 (Results)** : "And so, now your button shown in your second screenshot are **blue**"
[ ![alt](https://i.ibb.co/9gTMN6p/css-custom.png) ](https://i.ibb.co/9gTMN6p/css-custom.png "alt")

Hope this will be more clear.
Regards

Last edit: 5 years 5 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 44
- Thank you received: 3
-
-

5 years 5 months ago [\#333395](#333395) by [dean](/forum/user/61575-dean "View dean's Profile")  Replied by *[dean](/forum/user/61575-dean "View dean's Profile")* on topic *[css question](/forum/32-content-creation/902739-edit-button-css-command#333395 "-- url of the page with the problem -- :   www.xyznetworks.com.au  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Trying to change the colour of the &quot;New&quot; button on the order page. Current css is:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }  If I throw that in my custom css file using this:  .hika&#95;j2 .btn-success, .hikabtn-success { color: #fff; background-color: #2ba3d4; border-color: #4cae4c; }  The button colours aren't changing. Am I caling the right element in my CSS?")*

Ok thank you - the confusion here is that I have always created a custom css file and all changes have gone in there. Yours are kept in a Hikashop custom css file and I didn't know it existed. All good, thank you and please close this case.

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTAyNzM5LWVkaXQtYnV0dG9uLWNzcy1jb21tYW5kP3RtcGw9bWFya2Rvd24=) 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.089 seconds

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