Change Add to cart in product listing to icon

  • Posts: 61
  • Thank you received: 0
  • Hikashop Business
1 week 6 days ago #311973

Hi there,
i need to change only the Add to cart in product listing to icon (for all products) and in product description to stay as add to cart.
Is it possible and how to do it??

Thanks in advance

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

  • Posts: 67199
  • Thank you received: 9963
  • MODERATOR
1 week 5 days ago #311979

Hi,

Sure. It should be possible with a bit of CSS.
The exact CSS code you would need to use is hard to say without a link to a listing page on your website so that we can analyse the current situation (the CSS will change based on how your HikaShop is configured and based on how your Joomla template is made).
Could you provide such link ?

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

  • Posts: 61
  • Thank you received: 0
  • Hikashop Business
1 week 5 days ago #311981

Hi thanks!
Below you will find the link with add to cart as enabled in product listing. The site will be redesign

estianew.oxygendesign.gr/kouzina/%CE%B5%...%BD%CE%B1%CF%82.html

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

  • Posts: 67199
  • Thank you received: 9963
  • MODERATOR
1 week 5 days ago #311982

Hi,

So for example, with such CSS code you can add on your website:

.hikashop_products_listing .hikacart {
    width: 47px;
    padding: 13px 16px 10px 19px;
}
.hikashop_products_listing .hikacart span {
    right: 99999px;
    display: block;
    position: relative;
}
.hikashop_products_listing .hikacart span:after {
    content: "\f07a";
    position: absolute;
    right: -99999px;
    font: normal normal normal 14px/1 FontAwesome;
}
You can get the result:
monosnap.com/file/5QL8LffEg5elrABhUlxZ00fZrCvO2t

The following user(s) said Thank You: oxygenvisual

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

  • Posts: 61
  • Thank you received: 0
  • Hikashop Business
1 week 5 days ago #312001

Thats great!
Thank you very much!

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

Time to create page: 0.046 seconds
Powered by Kunena Forum