Hi there,
Does anyone know how to extend the black background on the pop-up below the email section? Its fine on mobile display but needs fixing on the desktop display. I have highlighted it in yellow.
Website: gokink.com.au
Thanks,
Steve
A user encountered a display issue with a popup’s black background in the Dawn theme—it appeared correctly on mobile but was cut off on desktop, not extending below the email section.
Solutions Provided:
Multiple developers offered CSS fixes targeting the .customNewsletter__container element:
height: auto !important; min-height: 50vh; to Custom CSS via Online Store > Themes > Customizecustom-subscriber-popup.css or base.css files with similar height adjustmentstheme.liquid above the </head> or </body> tagsResolution:
The issue was successfully resolved. The user confirmed one of the CSS solutions worked and marked it as solved.
Hi there,
Does anyone know how to extend the black background on the pop-up below the email section? Its fine on mobile display but needs fixing on the desktop display. I have highlighted it in yellow.
Website: gokink.com.au
Thanks,
Steve
Hello @socconnor
Go to online store ----> themes ----> actions ----> edit code ----> assets ---->custom-subscriber-popup.css
add this code at the end of the file.
.customNewsletter__container {
height: 55vh !important
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Hey @socconnor
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above tag:
Result
Hi @socconnor
You can solve it by adding this code to Custom CSS in Online Store > Themes > Customize > Theme settings
.customNewsletter__container {
height: auto !important;
min-height: 50vh;
}
That worked. Thanks so much ![]()
Hello @socconnor
#customNewsletter {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.8);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}
.customNewsletter__container {
background-color: white;
padding: 20px;
border-radius: 10px;
max-width: 500px;
width: 90%;
}