change the "add to cart" button on the image shown in collections page

Solved

change the "add to cart" button on the image shown in collections page

JaimePerez
Shopify Partner
16 1 2

hi all

currently the "add to cart" button that appears in my collection page is grey and represents a bag which is not very visble neither encourage people to add to cart directly from the collections page (as you can see in image below highlighted in yellow)

 

JaimePerez_1-1676527113191.png

 

I would like to change the icon shown on top of the image with the following instructions as per image below

1) icon in the bottom right corner of the image

2) a (+) sign instead of a bag as i have

3) with the store brand color which is #179EDA

 

JaimePerez_0-1676527018433.png

 

Accepted Solution (1)

PageFly-Richard
Shopify Partner
4593 1052 1713

This is an accepted solution.

Hi @JaimePerez ,

 

Sure, I’m happy to help you. Let’s try this solution:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/style.scss->paste below code at the bottom of the file:

.single-product-wrap .product-image .product-action {
    justify-content: end !important;
}
.single-product-wrap .product-image .product-action a {
    border-radius: 50% !important;
    background: #179EDA !important;
}
.single-product-wrap .product-image .product-action a i:before {
    content: "\f067";
    color: #fff;
}

PageFlyRichard_0-1676559477221.png

 

I hope it would help you
Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 6 (6)

Simonsron
Shopify Partner
699 87 122

Can you provide the address of your shop? If it is password protected, please provide the password.

banned

GemPages
Shopify Partner
5625 1261 1241

Hello @JaimePerez 

 

To provide you with the most precise solution in this case, could you please share your page URL ( with pass if your store password is enabled )?

 

Thank you and hope to hear from you.
Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

PageFly-Richard
Shopify Partner
4593 1052 1713

This is an accepted solution.

Hi @JaimePerez ,

 

Sure, I’m happy to help you. Let’s try this solution:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/style.scss->paste below code at the bottom of the file:

.single-product-wrap .product-image .product-action {
    justify-content: end !important;
}
.single-product-wrap .product-image .product-action a {
    border-radius: 50% !important;
    background: #179EDA !important;
}
.single-product-wrap .product-image .product-action a i:before {
    content: "\f067";
    color: #fff;
}

PageFlyRichard_0-1676559477221.png

 

I hope it would help you
Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

JaimePerez
Shopify Partner
16 1 2

I do not have the file Asset->/style.scss but i do have the ones shown in image below

please confirm is it is typo and the file to be updated should be style.css instead

JaimePerez_1-1676562068275.png

 

PageFly-Richard
Shopify Partner
4593 1052 1713

Hi @JaimePerez ,

 

Sorry for the confusion here. It's a style.css file.

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

chelux
Excursionist
40 1 8

Is there a code to hide the default ATC button and overlay the product photo with a (+) icon in the bottom right corner in collection pages only. ORIGIN THEME 

 

Current buttons

IMG_1356.jpeg

 Want these

IMG_1357.png