How to fix my transparent quick add background

How to fix my transparent quick add background

ExoticSouls
Explorer
129 0 16

Hello, can someone give me the code to fix this transparent background whenever you click the choose options button? I want it to be white, Any help is greatly appreciated!

My site is https://royalsurge.shop/collections/all 

 

Screenshot 2025-04-07 at 4.10.13 PM.png

Replies 11 (11)

DaveedValencia
Shopify Partner
48 7 8

you have two ways to do this:

Easy way: add the following css code anywhere in your theme.

.quick-add-modal__content-info {
  background: #fff!important;
}

 

Correct way: find the file "quick-add.css" and add the background here

.quick-add-modal__content-info {
  --modal-padding: 2.5rem;
  padding-right: 4.4rem;
  display: flex;
  overflow-y: auto;
  padding: var(--modal-padding);
  height: 100%;
  background: #fff;
}
LIVE solving this on my YouTube channel
ExoticSouls
Explorer
129 0 16

Thank you so much! Also behind the product is still transparent, how can i make that white too? Thanks in advance!

ExoticSouls_0-1744057955640.png

 

DaveedValencia
Shopify Partner
48 7 8

go to your "base.css" file and update the following code:

.media--transparent {
  background-color: #fff;
}
LIVE solving this on my YouTube channel
thescriptflow
Shopify Partner
633 42 82

Hey @DaveedValencia nevermind the code you provide will work globally. So consider provide code that work just that @ExoticSouls want.

Thanks

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee

thescriptflow
Shopify Partner
633 42 82

Please paste this code in the end of quick-add.css file.

.quick-add-modal[open]{
    background: #0000005c !important;
}
.quick-add-modal__content-info{
    background: white !important;
}

Results are amazing:

thescriptflow_0-1744057904138.png

Paste this code and check and thanks me later by like it and mark is solution.

 

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee

ExoticSouls
Explorer
129 0 16

Thank you! Behind the product is still transparent, how can i make that white too?

thescriptflow
Shopify Partner
633 42 82

yes here is updated code.

.quick-add-modal[open]{
    background: white !important;
}
.quick-add-modal__content-info{
    background: white !important;
}

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee

ExoticSouls
Explorer
129 0 16

Sorry, i wanted the blue area to still be transparent but the red area to be white!! Let me know what i can do for that!Screenshot 2025-04-07 at 4.48.46 PM.png

thescriptflow
Shopify Partner
633 42 82

Do this please.

.quick-add-modal[open]{
    background: white !important;
}
.quick-add-modal__content-info{
    background: transparent !important;
}

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee

ExoticSouls
Explorer
129 0 16

That doesn't work. Same opposite of how i want it.

thescriptflow
Shopify Partner
633 42 82

I want more clarification please.

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee