Solved

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

guiveloso
Tourist
10 0 5

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!

 

 

Accepted Solution (1)
g33kgirl
Shopify Partner
390 109 142

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.

View solution in original post

Replies 3 (3)

g33kgirl
Shopify Partner
390 109 142

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.
guiveloso
Tourist
10 0 5

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? 

g33kgirl
Shopify Partner
390 109 142

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.