product card template

product card template

eslamibrahim
Shopify Partner
35 0 5

I want to do same product card appearance on the mobile version.

Desktop :

eslamibrahim_0-1720639765190.png

 

Mobile :

eslamibrahim_1-1720639765757.png

 

Link: https://level-up.gg/collections/earpohones

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
6847 1634 2014

Hi @eslamibrahim 

Do you mean like this? 

Made4uoRibe_0-1720641244050.png

If it is, check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

@media (max-width: 768.98px) {
.main-products-grid[data-layout=grid] .grid-cols-2>li {
    margin: 10px;
    border: 0px;
    background: #f2f2f2 !important;
    }
product-card.card.card--product.h-full.card--product-contained {
    padding: 10px;
    border: none !important;
}
.main-products-grid[data-layout=grid] .grid-cols-2 {
    background: #f2f2f2 !important;
}
}

 

  • 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.
eslamibrahim
Shopify Partner
35 0 5

it is work but have issue, I find a line appear between product cards 

eslamibrahim_0-1720643246915.png

 

Made4uo-Ribe
Shopify Partner
6847 1634 2014

Please, replace the code with added code below. 

 

@media (max-width: 768.98px) {
.main-products-grid[data-layout=grid] .grid-cols-2>li {
    margin: 10px;
    border: 0px !important;
    background: #f2f2f2 !important;
    }
product-card.card.card--product.h-full.card--product-contained {
    padding: 10px;
    border: none !important;
}
.main-products-grid[data-layout=grid] .grid-cols-2 {
    background: #f2f2f2 !important;
}
}

 

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.
eslamibrahim
Shopify Partner
35 0 5

thank you so much, I want to do the same in search page.

eslamibrahim_0-1720644741896.png

 

Made4uo-Ribe
Shopify Partner
6847 1634 2014

Add this code then, 

 

.cc-main-search {
    background: #f2f2f2 !important;
}
.cc-main-search .container {
    padding-top: 20px;
}

 

And Save. 

Result:

Made4uoRibe_0-1720648220385.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.