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
A user seeks CSS code to change the transparent background of their quick-add modal to white on their Shopify store. The issue appears in a popup that displays when clicking “choose options” on product listings.
Initial Solutions Provided:
quick-add.css file directly.quick-add-modal__content-info class with background: #fffEvolving Requirements:
Current Status:
Screenshots are central to understanding the specific UI elements being discussed.
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
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;
}
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:
Paste this code and check and thanks me later by like it and mark is solution.
Thank you so much! Also behind the product is still transparent, how can i make that white too? Thanks in advance!
Thank you! Behind the product is still transparent, how can i make that white too?
yes here is updated code.
.quick-add-modal[open]{
background: white !important;
}
.quick-add-modal__content-info{
background: white !important;
}
go to your “base.css” file and update the following code:
.media--transparent {
background-color: #fff;
}
Hey @DaveedValencia nevermind the code you provide will work globally. So consider provide code that work just that @ExoticSouls want.
Thanks
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!
Do this please.
.quick-add-modal[open]{
background: white !important;
}
.quick-add-modal__content-info{
background: transparent !important;
}
That doesn’t work. Same opposite of how i want it.
I want more clarification please.