add to cart image doesn't show everywhere.

  • Posts: 64
  • Thank you received: 5
11 years 8 months ago #92583

I wanted an image instead of the 'add to cart' tekst. So I put this line in the language override area.

ADD_TO_CART="<img src="images/cart.jpg" alt="In winkelwagen" height="40" width="40">"

Now it shows the cart image as I want on the product-overview page, that's nice.

But it does not show on the article page or the 'other products' section for instance.

I'm probably overlooking something simple (again). Any ideas?

Attachments:
Last edit: 11 years 8 months ago by Dafilla.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #92603

Hi,

You'll be able to do it not by doing it through your language file but through your CSS file.
So I think that you'll probably find your answer through this thread .

Hope this will help you.

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

  • Posts: 64
  • Thank you received: 5
11 years 8 months ago #92742

I changed the CSS to this:

a.hikashop_cart_button, a.hikashop_cart_button:hover, a.hikashop_compare_button, a.hikashop_compare_button:hover{
background-image:url(../images/cart.jpg);
}

But that did not do the job. (The cart.jpg being the image I wanna use).

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

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #92850

Try to use an absolute url for your image or ADD_TO_CART="<img src="./images/cart.jpg" alt="In winkelwagen" height="40" width="40">"

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

Time to create page: 0.067 seconds
Powered by Kunena Forum