DAWN THEME: MOBILE PRODUCT GRID

Solved

DAWN THEME: MOBILE PRODUCT GRID

skymochi
Excursionist
45 0 5

1. How do I shorten my product grid aspect ratio to be 4:5? MOBILE ONLY


2. How do I center my product name and price? DESKTOP & MOBILE

IMG_7088.jpgIMG_7089.jpg

koredoko.com

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
7756 1876 2297

This is an accepted solution.

in your base.css file you miss place one closing bracket. 

 

Made4uoRibe_0-1724701618491.png

Remove the last one and add into the line 3784 like this.

Made4uoRibe_1-1724701696720.png

And Save.

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 4 (4)
skymochi
Excursionist
45 0 5

Do you have a CSS for this?

Made4uo-Ribe
Shopify Partner
7756 1876 2297

Hi @skymochi 

Do you mean center the prodcut title of the image, like this? 

Made4uoRibe_2-1724697580599.png

 

If it is check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

@media (max-width: 768px) {
    #product-grid .grid__item {
        height: 40vh;
    }

    #shopify-section-template--16565351809097__product-grid .card__content {
        top: 40%;
    }
}

#shopify-section-template--16565351809097__product-grid .card__content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

 

And Save. 

result:

Made4uoRibe_1-1724697497066.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
skymochi
Excursionist
45 0 5

thank you—this worked for mobile but not for desktop. Could you help troubleshoot?

Made4uo-Ribe
Shopify Partner
7756 1876 2297

This is an accepted solution.

in your base.css file you miss place one closing bracket. 

 

Made4uoRibe_0-1724701618491.png

Remove the last one and add into the line 3784 like this.

Made4uoRibe_1-1724701696720.png

And Save.

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.