Newsletter - center the pop-up newsletter

Solved

Newsletter - center the pop-up newsletter

marcelp
Pathfinder
97 2 14

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
4304 1105 1354

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


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
4304 1105 1354

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


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

BSS-TekLabs
Shopify Expert
449 143 156

- 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 .
For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase

Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
marcelp
Pathfinder
97 2 14

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 Expert
246 45 47

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
8382 1650 1662

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

- Helpful? Like and Accept solution to let me know or Buy me Coffee ❤️!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.