How do I remove the left margin from the first product in a collection on Shopify?

Solved

How do I remove the left margin from the first product in a collection on Shopify?

lisbotech
Excursionist
12 0 3

How do I remove the left margin from the first product in a collection on Shopify?
 Thanks

Screenshot_50.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
8757 2093 2568

This is an accepted solution.

Thanks for the info, try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (min-width: 990px){
.slider--desktop .slider__slide:first-child {
    margin-left: 36px !important;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1698788488731.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.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
8757 2093 2568

Hi @lisbotech 

Would you mind to share your Store URL website? with password if its unpublish. 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.
lisbotech
Excursionist
12 0 3

Página Inicial LISBOTECH

lisbotech.com

 

password: yangan

Made4uo-Ribe
Shopify Partner
8757 2093 2568

This is an accepted solution.

Thanks for the info, try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (min-width: 990px){
.slider--desktop .slider__slide:first-child {
    margin-left: 36px !important;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1698788488731.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.
lisbotech
Excursionist
12 0 3

It worked, tysm