Center the text button and h1 in Image Banner (Ella Theme)

Center the text button and h1 in Image Banner (Ella Theme)

AndreNL
Shopify Partner
37 1 5

How would I go about centering my div / text inside of it + button?

AndreNL_0-1718790798245.png

https://koster-sandbox-1.myshopify.com/

Password for store: pifroh

Replies 6 (6)

saim007
Shopify Partner
553 70 94

Go to Customization > And you will see the option for doing alignment in center.

Saim | Shopify Partner Expert

Was I helpful?

Buy me a Coffee

🙂
Hire me   to unlock the full potential of your e-commerce store 🙂
AndreNL
Shopify Partner
37 1 5

Doesn't do anything

mageplaza-cs
Shopify Partner
56 4 8

Hi @AndreNL 

Please try "important" attribute in your custom CSS
refer link: https://www.w3schools.com/css/css_important.asp

Mageplaza | Top-Rated Shopify Agency | Trusted by 230,000+ worldwide merchants


If our suggestion works for you, please give it a Like or mark it as a Solution!


Should you have any questions or concerns, feel free to contact us via consultant@mageplaza.com

AndreNL
Shopify Partner
37 1 5

Didn't change anthing

mageplaza-cs
Shopify Partner
56 4 8

Hi @AndreNL 

How did you use it? Can you share an example on your site? 

After that, I will send you some css code for that case.

This is my case:

mageplazacs_0-1718935912200.png

mageplazacs_1-1718935987217.png

 

Mageplaza | Top-Rated Shopify Agency | Trusted by 230,000+ worldwide merchants


If our suggestion works for you, please give it a Like or mark it as a Solution!


Should you have any questions or concerns, feel free to contact us via consultant@mageplaza.com

AndreNL
Shopify Partner
37 1 5

I already fixed it!