Re: Rescale product card for homepage

Solved

How can I resize the product card on my homepage?

viggostarcke
Excursionist
26 1 3

Hello

I am using a customized version of spotlight 11.0.0.

I want products to show in 1 column but not the "full" width like seen below.

 

viggostarcke_0-1698876984330.png

What I would like was for the card to be of a size like the red box I have drawn here:

viggostarcke_1-1698877342268.png

How do I scale it down?

https://kyototango.myshopify.com/

thanks in advance

 

Accepted Solutions (2)
Asad24
Shopify Partner
180 36 33

This is an accepted solution.

Go to your Online Store > Settings > Custom Css and paste this code ther

.card__inner.color-background-1 {
   --ratio-percent: 70% !important;
}


Asad24_0-1698879307488.png

 

banned

View solution in original post

Made4uo-Ribe
Shopify Partner
9554 2276 2823

This is an accepted solution.

Hi @viggostarcke 

Do you mean like this?

Made4uoRibe_0-1698879422166.png

If it is 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:

 

.card-wrapper.product-card-wrapper.underline-links-hover {
    width: 55%;
    margin: auto;
}

 

  • And Save. 
  • Note: you can increase/decrease the width. 

 

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 4 (4)

Asad24
Shopify Partner
180 36 33

What's your store url ?

banned
viggostarcke
Excursionist
26 1 3

https://kyototango.myshopify.com/
oops forgot to add that. also just added to original message 🙂

Asad24
Shopify Partner
180 36 33

This is an accepted solution.

Go to your Online Store > Settings > Custom Css and paste this code ther

.card__inner.color-background-1 {
   --ratio-percent: 70% !important;
}


Asad24_0-1698879307488.png

 

banned

Made4uo-Ribe
Shopify Partner
9554 2276 2823

This is an accepted solution.

Hi @viggostarcke 

Do you mean like this?

Made4uoRibe_0-1698879422166.png

If it is 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:

 

.card-wrapper.product-card-wrapper.underline-links-hover {
    width: 55%;
    margin: auto;
}

 

  • And Save. 
  • Note: you can increase/decrease the width. 

 

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.