Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
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
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%;
}
}
Hello, I have searched theme.css, theme.js, theme.liquid and none of them have the code you mentioned.
Please check and replace code
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
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.
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;
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025