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

#   Cannot change Add to cart image

##

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

Less More

- Posts: 50
- Thank you received: 0
-
-

11 years 6 months ago [\#198151](#198151) by [rjohnson1990](/forum/user/13044-rjohnson1990 "View rjohnson1990's Profile")  *[Cannot change Add to cart image](/forum/25-install-update/876307-cannot-change-add-to-cart-image#198151 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 37.0.1  I've done all I can think of. The latest thing I've found was adding this to the CSS:  Everything I've done, it does not change the add to cart button. I've even cleaned the cache many times and never saw a change. What else can I do?")* was created by *[rjohnson1990](/forum/user/13044-rjohnson1990 "View rjohnson1990's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.4.36
-- Browser(s) name and version -- : Firefox 37.0.1

I've done all I can think of. The latest thing I've found was adding this to the CSS:
Code:

.hikashop_cart_input_button{ background: url('http://mywebsite.com/images/addtocart.png') !important; }

Everything I've done, it does not change the add to cart button. I've even cleaned the cache many times and never saw a change. What else can I do?

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

11 years 6 months ago [\#198167](#198167) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cannot change Add to cart image](/forum/25-install-update/876307-cannot-change-add-to-cart-image#198167 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 37.0.1  I've done all I can think of. The latest thing I've found was adding this to the CSS:  Everything I've done, it does not change the add to cart button. I've even cleaned the cache many times and never saw a change. What else can I do?")*

Hi,

You've changed the buttons style option of the configuration from "normal" to "css", and in that case, it's not the class hikashop_cart_input_button that you want to use but the class hikashop_cart_button so you want to do such CSS code instead:
.hikashop_cart_button{
background: url('[ mywebsite.com/images/addtocart.png](http://mywebsite.com/images/addtocart.png)') !important;
}

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

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

Less More

- Posts: 50
- Thank you received: 0
-
-

11 years 6 months ago -  11 years 6 months ago [\#198222](#198222) by [rjohnson1990](/forum/user/13044-rjohnson1990 "View rjohnson1990's Profile")  Replied by *[rjohnson1990](/forum/user/13044-rjohnson1990 "View rjohnson1990's Profile")* on topic *[Cannot change Add to cart image](/forum/25-install-update/876307-cannot-change-add-to-cart-image#198222 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 37.0.1  I've done all I can think of. The latest thing I've found was adding this to the CSS:  Everything I've done, it does not change the add to cart button. I've even cleaned the cache many times and never saw a change. What else can I do?")*

I've done what you said. Button style is CSS and I've added the following to my Front-end CSS file:
Code:

.hikashop_cart_button{ background: url('mywebsite.com/images/addtocart.png') !important; }

The button now looks like this:

[ ![hikashop-add-to-cart-button.png](/forum/attachment/23699) ](/forum/attachment/23699 "...art-button.png")

I did change the URL to the image URL I would like to use. I've even checked to make sure the URL was correct.

- [ ![hikashop-add-to-cart-button.png](/forum/attachment/23699) ](/forum/attachment/23699 "...art-button.png") [ ](/forum/attachment/23699?download=1 "...art-button.png")

Last edit: 11 years 6 months ago by [rjohnson1990](/forum/user/13044-rjohnson1990 "View rjohnson1990's Profile").

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

11 years 6 months ago [\#198233](#198233) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cannot change Add to cart image](/forum/25-install-update/876307-cannot-change-add-to-cart-image#198233 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 37.0.1  I've done all I can think of. The latest thing I've found was adding this to the CSS:  Everything I've done, it does not change the add to cart button. I've even cleaned the cache many times and never saw a change. What else can I do?")*

Hi,

I tried to look at your product page in order to analyze the issue but the links to the product page on your website do not seem to work anymore.
Could you provide a link to a product page so that we can see that ?

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

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

Less More

- Posts: 50
- Thank you received: 0
-
-

11 years 6 months ago [\#198426](#198426) by [rjohnson1990](/forum/user/13044-rjohnson1990 "View rjohnson1990's Profile")  Replied by *[rjohnson1990](/forum/user/13044-rjohnson1990 "View rjohnson1990's Profile")* on topic *[Cannot change Add to cart image](/forum/25-install-update/876307-cannot-change-add-to-cart-image#198426 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 37.0.1  I've done all I can think of. The latest thing I've found was adding this to the CSS:  Everything I've done, it does not change the add to cart button. I've even cleaned the cache many times and never saw a change. What else can I do?")*

After some time, the image for my add to cart button appeared but now looks like this:

[ ![Windows&#95;8&#95;1&#95;Enterprise.png](/forum/attachment/23746) ](/forum/attachment/23746 "...Enterprise.png")

- [ ![Windows&#95;8&#95;1&#95;Enterprise.png](/forum/attachment/23746) ](/forum/attachment/23746 "...Enterprise.png") [ ](/forum/attachment/23746?download=1 "...Enterprise.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#198427](#198427) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Cannot change Add to cart image](/forum/25-install-update/876307-cannot-change-add-to-cart-image#198427 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 37.0.1  I've done all I can think of. The latest thing I've found was adding this to the CSS:  Everything I've done, it does not change the add to cart button. I've even cleaned the cache many times and never saw a change. What else can I do?")*

Hi,

You might had a browser cache issue for the CSS.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 50
- Thank you received: 0
-
-

11 years 6 months ago [\#198644](#198644) by [rjohnson1990](/forum/user/13044-rjohnson1990 "View rjohnson1990's Profile")  Replied by *[rjohnson1990](/forum/user/13044-rjohnson1990 "View rjohnson1990's Profile")* on topic *[Cannot change Add to cart image](/forum/25-install-update/876307-cannot-change-add-to-cart-image#198644 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 37.0.1  I've done all I can think of. The latest thing I've found was adding this to the CSS:  Everything I've done, it does not change the add to cart button. I've even cleaned the cache many times and never saw a change. What else can I do?")*

I got it working somewhat. I changed the code a little.

FROM: Code:

.hikashop_cart_button{ background: url('mywebsite.com/images/addtocart.png') !important; }

TO Code:

.hikashop_cart_button{ background: url('mywebsite.com/images/addtocart.png') !important; width: 50px !important; height: 50px !important; background-repeat: no-repeat !important; }

It's working great now but I would like to remove the Add to cart text which I can probably just delete from the language file and I would also like to remove the border around the Add to cart button.

Also, I have it set up so when an item is added to cart, the popup appears and both the Continue Shopping and Proceed to Cart buttons are the same as my add to cart button.

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

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

[](#top)
