Re: Reduce Product Image In Collection Page - Dawn

Reduce Product Image In Collection Page - Dawn

Tara123
Explorer
65 3 6

Hi,

 

For product images in collection page, I want to reduce the image size ( to 80%) and padding (custom top, bottom), for desktop and mobile. Can anyone please advise the code to achieve that? Thanks.

www.veepli.com 

 

Best Regards,

Tara

Replies 6 (6)

prakashVt
Shopify Partner
226 20 34

Hello @Tara123 
Do you want something like this?

prakashVt_0-1711609272166.png

 

- Free Customer Dashboard apps that enhanced your customers' experience - VTN Customer Dashboard
- Feel free to Contact for more help (Free Support): [email protected]

Raj-webdesigner
Shopify Partner
345 85 82

1) Edite Code

2) Find base.css

 

Add This css In your bsase.css File

@media screen and (max-width: 990px){
    .grid--1-col-tablet-down .grid__item {
        width: 45% !important;
        max-width: 50% !important;
    }
}



Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-[email protected]


Tara123
Explorer
65 3 6

Thank you. It does not work though. Anyway, I figured it out myself.

Raj-webdesigner
Shopify Partner
345 85 82

Great Work @Tara123 

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-[email protected]


Tara123
Explorer
65 3 6

Yes, I found the rule. The issue is that I don't know the exact selector, since I have no coding experience. 

PageFly-Oliver
Shopify Partner
878 190 181

Hi @Tara123 

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
#shopify-section-template--22323469222198__featured_collection_MXPYnb .card__inner.ratio{
margin-bottom: -60px;
}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

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


PageFly - #1 Page Builder for Shopify merchants.


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