Solved

Why isn't my button alignment working on the store page?

Itamar2020
Excursionist
48 0 3

hi, for some reason, the button alinged to the center but when i visit the store url it is not really works:

 

Itamar2020_0-1705867229333.png

 

Itamar2020_1-1705867238215.png

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
5966 1434 1770

This is an accepted solution.

Hi @Itamar2020 

This is on your contact page right? 

Check this one.

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.section-template--21878534504759__form-padding .contact__button {
    text-align: center !important;
}

 

And save. 

Result:

Made4uoRibe_0-1705868302429.png

 

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
5966 1434 1770

This is an accepted solution.

Hi @Itamar2020 

This is on your contact page right? 

Check this one.

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.section-template--21878534504759__form-padding .contact__button {
    text-align: center !important;
}

 

And save. 

Result:

Made4uoRibe_0-1705868302429.png

 

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


Itamar2020
Excursionist
48 0 3

thanks man, it seems to work

do you know maybe how can i align right the text content inside the boxes to fill?