Newsletter - center the pop-up newsletter

Solved

Newsletter - center the pop-up newsletter

marcelp
Pathfinder
97 2 15

Hi everyone, I want to center the newsletter (pop-up) on www.cotiereofficial.com 

 

Does anybody have a custom css code for this?

 

I would also like to give it a custom text color.


Thakn you

 

 

 

Accepted Solution (1)

Moeed
Shopify Partner
7135 1926 2352

This is an accepted solution.

Hey @marcelp 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.transition-transform .section-x-padding.py-theme {
    text-align: -webkit-center !important;
}
</style>

RESULT:

Moeed_0-1720511997330.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
7135 1926 2352

This is an accepted solution.

Hey @marcelp 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.transition-transform .section-x-padding.py-theme {
    text-align: -webkit-center !important;
}
</style>

RESULT:

Moeed_0-1720511997330.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


BSS-TekLabs
Shopify Partner
2401 695 831

- Here is the solution for you @marcelp 
- Please follow these steps:

BSSTekLabs_0-1720512356583.png

 

 

- Then find the theme.min.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

.section-x-padding.py-theme {
     text-align: -webkit-center !important;
}

- Here is the result you will achieve:

BSSTekLabs_1-1720512420052.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
marcelp
Pathfinder
97 2 15

Unfortenatly it didnt work. Unfortenatly non of the codes worked. Is there maybe another code writing over the ones you guys sent me?

Bildschirmfoto 2024-07-09 um 11.30.55.pngBildschirmfoto 2024-07-09 um 11.31.07.png

GTLOfficial
Shopify Partner
801 167 178

Hello @marcelp 
Go to online store ---------> themes --------------> actions ------> edit code------->assets-----> theme.min.css

@media (min-width: 1024px) {
.section-x-padding {
text-align: -moz-center;
}
}

and the result will be
14.png


If this was helpful, hit the like button and mark the job as completed.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

Dan-From-Ryviu
Shopify Partner
11367 2229 2403

Hi @marcelp 

Please go to your Online Store > Themes > Edit code, open theme.liquid file, add this code after <head>

<style>
.section-x-padding:has(#Contact-popup) .text-base,
.section-x-padding:has(#Contact-popup) .mt-4 {
margin: auto;
}
.section-x-padding:has(#Contact-popup) .mt-4 { margin-top: 8px !important; }
.section-x-padding:has(#Contact-popup) .text-base { text-align: center; }
</style>

Screenshot 2024-07-09 at 15.14.56.png

- Found this helpful? Hit "Like" and "Accept as Solution"! Support me: Donate!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.