Prestige Theme: Center the newsletter popup and add grey-overlay in the background

Solved
guiveloso
Tourist
10 0 3

Hi there, we're currently using the Prestige theme and I would like to move our current newsletter pop-up to be centered and also be able to add a grey-overlay to the background when the pop-up is up until it is closed.

Can someone please help on how to implement this? I believe it'll be through our .css?

Our website is: https://manukora.com/

Thanks!

 

 

0 Likes
g33kgirl
Shopify Partner
321 95 113

Hi @guiveloso center-aligning the popup can be easily done via CSS. However, adding an overlay and showing it till the popup is closed requires technical coding to make changes to the layout for which you will have to hire a Shopify expert. 

 

If you found my answer helpful, please LIKE and ACCEPT.
buymeacoffee.com/g33kgirl ☕
If you're not comfortable with code, please modify code files at your own risk.
0 Likes
guiveloso
Tourist
10 0 3

Thank you @g33kgirl! Noted on the overlay. In this case, can you please guide me on how can I center-align our current newsletter pop-up? 

0 Likes
g33kgirl
Shopify Partner
321 95 113

This is an accepted solution.

@guiveloso, you can add this at the end of your CSS file (Themes -> Edit code -> Assets -> theme.css

.NewsletterPopup {
   left: 50% !important;
   transform: translate(-50%, -50%) !important;
}

 

If you found my answer helpful, please LIKE and ACCEPT.
buymeacoffee.com/g33kgirl ☕
If you're not comfortable with code, please modify code files at your own risk.
0 Likes