CTA button alignment issue

SOLVE
New Contributor

Hi guys can someone teach me how to align CTA button to the center of the page? Please see attached image, thank you. 

CTA button issue.png

 

 

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Highlighted
Top Contributor
.parent-class-name form .actions{
text-align:center;
}

/* .parent-class-name is the main class container of form. This works most of the time */

body .container-fluid .row-fluid .parent-class-name a.cta_button{
margin:0 auto;
float:none;
}

/* Give this styling if you have a max-width or width for your button.

If both don't work, please share the page link so that I can provide the accurate solution.

3 Replies 3
Highlighted
Top Contributor
.parent-class-name form .actions{
text-align:center;
}

/* .parent-class-name is the main class container of form. This works most of the time */

body .container-fluid .row-fluid .parent-class-name a.cta_button{
margin:0 auto;
float:none;
}

/* Give this styling if you have a max-width or width for your button.

If both don't work, please share the page link so that I can provide the accurate solution.

New Contributor

Thank you

Reply
0 Upvotes
New Contributor

Hi. I have the same problem, but where does that code go?