Coding help! Product grids shadow

Coding help! Product grids shadow

leoking
Explorer
82 0 10

IMG_8714.jpeg

IMG_8655.jpeg

The example I want is the 2nd one it look much better I want the shadow price and name to be at the center   

Can anyone help me find the code to make them cards style  with shadows like this and also a choose options I wouldn’t want to use an app

the website I’m inspiring from is Luckyfours.com 

 

My website is Lexxyy.com

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10038 2387 3014

Hi @leoking 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.collection .card.card--standard.card--media {
    box-shadow: .2rem 0.6rem 1.5rem rgba(33, 33, 33, 0.1);
}

.collection .card__information.globo-swatch-product-item * {
    text-align: center;
}

.swatches-globo--list {
    display: flex;
    justify-content:center;
}
.swatches-globo {
    margin: 0;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1739226173805.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 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.
leoking
Explorer
82 0 10

Thank for the help, unfortunately it’s still like the picture anyway to make it exactly like lucky fours?

IMG_9001.jpeg

IMG_8992.png