CMS Development

Carroll93
Member

CTA button alignment issue

SOLVE

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

 

 

0 Upvotes
1 Accepted solution
Solution
Anonymous
Not applicable

CTA button alignment issue

SOLVE
.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.

View solution in original post

3 Replies 3
Solution
Anonymous
Not applicable

CTA button alignment issue

SOLVE
.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.

adrian_davies
Member

CTA button alignment issue

SOLVE

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

Carroll93
Member

CTA button alignment issue

SOLVE

Thank you

0 Upvotes