Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How to customise Product Grid on Collections Page

How to customise Product Grid on Collections Page

devnoob
Excursionist
27 1 2

URL:https://reason-for-being.store/collections/all

Theme: Dawn

Password: pex100

 

on my mobile, the product images of the collection page are very small (ideally we would want 1 product image and title to cover the whole screen and scroll will take it to the next product). Also, the produt title doesnt align and there is a lot of white space.

devnoob_0-1721826097588.png

devnoob_1-1721826180832.png


in the web version, the product title and product images align but it changes with the screen size:

devnoob_2-1721826216352.png

correct version above:

Incorrect version below, note the shift in product title name:

devnoob_3-1721826255575.png


last, the middle column gap is very big.

Any one has any thoughts on this?

 



 

Replies 8 (8)

dws_pvt_ltd
Shopify Partner
338 65 84

Hello @devnoob, Please add the code below in your CSS file of the collections grid file which you put it with the section.id of the collections section.

 

{{ your_section_id_here }} .collection .card__inner {
    width: 100%; /* add this CSS */
    margin: 0 auto;
}

 

See the screenshot below,

Screenshot from 2024-07-24 18-49-59.pngScreenshot from 2024-07-24 18-49-49.png

 

Feel free to reach out if you have any questions or need assistance.

Best Regards,

DWS.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
devnoob
Excursionist
27 1 2

Hi,

Thank you so much for getting back. I am new to this so would you know how I can find my section id?

 

dws_pvt_ltd
Shopify Partner
338 65 84

@devnoob please open your main-collection-product-grid.liquid file in edit code, i think at below your section id is occurs. Search in this file like "#shopify-section-template--22804030619992__product-grid" or "#shopify-section-{{ section.id }}". You can find like this. Please try !

 

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
devnoob
Excursionist
27 1 2

Thanks for getting back again. I dont find any info related to #shopify-section in that file unfortunately. checking other places

devnoob
Excursionist
27 1 2

Hi,


I think I figured out the section id issue. 


the only problem is, images are very large now and are going over the screen now and product info isnt visible until I scroll. Any thougts on a fix for this?

devnoob_0-1721829290245.png

 

 

devnoob_1-1721829300101.png

 

dws_pvt_ltd
Shopify Partner
338 65 84

Hello @devnoob, See your actual image size is already having 360 x 450 but it takes too much width and height through your HTML width and height of the image filter when you rendered this. see the screenshot below, it takes width="3573" height="4466" in HTML and render with a 800 x 800 sized image.

dws_pvt_ltd_0-1721881277496.png

 

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
Antoine880
Tourist
5 1 0

Dear you can convert images in webp image format. it will helpful and fast solution.

johndepict
Shopify Partner
7 0 0

we built a no-code collection page/grid builder so that you don't have to solve this with custom code: https://apps.shopify.com/depict

works natively with dawn/shopify, just ping me if you have any questions!