Centre-align newsletter popup on Prestige Theme

Solved

Centre-align newsletter popup on Prestige Theme

CostaEffie
Explorer
47 0 8

Hello! Two things:

 

- Trying to centre align the pop up for newsletter on desktop, have searched community and found another solve but the CSS addition to our theme.css file doesn't work.

- Would like to add a sticky bar on the side of the page if someone closes the signup newsletter popup

 

Store is: www.greciancollective.com

Costa & Effie
Founders
Accepted Solution (1)

INA_MSWEB
Shopify Partner
1281 144 168

This is an accepted solution.

Hi @CostaEffie 


I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.

Please add this css in your bottom of the theme.css file:
.newsletter-popup {left: 3%;}

 



Regards,

San

If it’s helpful to you, please mark it as a solution.  


Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin

View solution in original post

Replies 6 (6)

oscprofessional
Shopify Partner
16343 2438 3177

@CostaEffie 
Hello, I have checked your issue
Go to online Store > Edit Code > Assets > theme.css

@media screen and (min-width: 700px) {
  .newsletter-popup {
    width: 23.75rem;
    inset-inline-start: auto;
  }
}

Search this code and Replace CSS

@media screen and (min-width: 700px) {
  .newsletter-popup {
    width: 23.75rem;
    margin: 0 auto;
    top: 35%;
    height: 320px;
    bottom: 50%;
  }
}



 

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...
CostaEffie
Explorer
47 0 8

Hello, I have searched theme.css, theme.js, theme.liquid and none of them have the code you mentioned.

Costa & Effie
Founders
oscprofessional
Shopify Partner
16343 2438 3177

@CostaEffie 

oscprofessional_0-1693633365657.png

Please check and replace code

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...

INA_MSWEB
Shopify Partner
1281 144 168

This is an accepted solution.

Hi @CostaEffie 


I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.

Please add this css in your bottom of the theme.css file:
.newsletter-popup {left: 3%;}

 



Regards,

San

If it’s helpful to you, please mark it as a solution.  


Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin

CostaEffie
Explorer
47 0 8

Thanks San but that code change makes it pop up in the bottom left hand corner on desktop. We need it in the centre of the screen as well as centre-aligned please.

Costa & Effie
Founders
michelleallpart
Shopify Partner
15 0 5

Not sure if you already figured this out, but if not, you can try to set the margin to "0, auto" or if that doesn't work you can try:

 

margin-left: 50vw;