How do I make the background of the products grey like in the store Kids One Store?

How do I make the background of the products grey like in the store Kids One Store?

OneCap
Trailblazer
264 0 36
Replies 6 (6)

pawankumar
Shopify Partner
754 111 128

Hi @OneCap 
Please put this css in theme.liquid before body closing tag </body>

<style>
product-item.product-item:after {
    bottom: 0;
    box-shadow: inset 0 0 152px #00000014;
    content: "";
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}
</style>

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

Asad-Mahmood
Shopify Partner
452 80 91

Go to your online store -> edit code -> theme.css file and paste this code there

.product-item {
    background-color: #f5f5f5;
    padding: 5px;
}

 

AsadMahmood_0-1734881459909.png

 

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp
Fiver




Made4uo-Ribe
Shopify Partner
10211 2427 3082

Hi @OneCap 

Is this for all collection product? If it is 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:

 

product-item.product-item:after {
    bottom: 0;
    box-shadow: inset 0 0 152px #00000014;
    content: "";
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1734903705572.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

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.

Spac-es
Shopify Partner
408 119 155

Add this code in your base.css file:

.product-item__image-wrapper.product-item__image-wrapper--multiple::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000017;
  z-index: 999;
  pointer-events: none;
}

Result:example.PNG

 

Any donation is welcome! https://www.buymeacoffee.com/spacescoffee Thanks in advance!

DaisyVo
Shopify Partner
4460 499 596

Hi @OneCap ,

 

You can follow the steps here:

 

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there

 

Here is the code for step 3:

product-item.product-item {
    background: rgba(0,0,0,0.05);
}

 

Here is the result: 

DaisyVo_0-1734926537055.png

 

Please let me know if it works!

 

Best,

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

Dan-From-Ryviu
Shopify Partner
12018 2348 2528

Hi @OneCap 

You can do that by adding this code to Custom CSS in Online Store > Themes > Customize > Theme settings 

.product-item:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: inset 0 0 152px #00000016;
    pointer-events: none;
}

Screenshot 2024-12-23 at 14.39.31.png

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.