CMS Development

Carroll93
Miembro

CTA button alignment issue

resolver

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 Me gusta
1 Soluciones aceptada
Solución
Anonymous
No aplicable

CTA button alignment issue

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

Ver la solución en mensaje original publicado

3 Respuestas 3
Solución
Anonymous
No aplicable

CTA button alignment issue

resolver
.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
Miembro

CTA button alignment issue

resolver

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

Carroll93
Miembro

CTA button alignment issue

resolver

Thank you

0 Me gusta