CMS Development

Carroll93
メンバー

CTA button alignment issue

解決

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 いいね!
1件の承認済みベストアンサー
解決策
Anonymous
適用対象外

CTA button alignment issue

解決
.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件の返信
解決策
Anonymous
適用対象外

CTA button alignment issue

解決
.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
メンバー

CTA button alignment issue

解決

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

Carroll93
メンバー

CTA button alignment issue

解決

Thank you

0 いいね!