add to cart image doesn't show everywhere.
13 years 7 months ago - 13 years 7 months ago #92583
by Dafilla
add to cart image doesn't show everywhere. was created by Dafilla
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?
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?
Last edit: 13 years 7 months ago by Dafilla.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 7 months ago #92603
by Mohamed Thelji
Replied by Mohamed Thelji on topic add to cart image doesn't show everywhere.
Please Log in or Create an account to join the conversation.
13 years 6 months ago #92742
by Dafilla
Replied by Dafilla on topic add to cart image doesn't show everywhere.
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).
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.
13 years 6 months ago #92850
by Xavier
Replied by Xavier on topic add to cart image doesn't show everywhere.
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.188 seconds