CTA button alignment horizontally in the center

Hi, I am facing issues in putting two CTA align horizontally in the center. I am attaching images.


This is what I need to display

And this is what I have done but it’s not displaying the desired results

Hey @Shaykoo,

Could you get us an image of what the results are? And maybe a live demo?

This is the result @Kevin-C


the pink button is going too left “Get a demo” button is aligned right

@Shaykoo, do you have link to this page?

https://preview.hs-sites.com/_hcms/preview/template/multi?is_buffered_template_layout=true&portalId=3906991&tc_deviceCategory=undefined&template_layout_id=6492284154&updated=1542108305575

@Shaykoo,

#hs_cos_wrapper_module_1542063417088224_ {
 text-align: right;
}

that is for above 767px

i would add a media query

@media (max-width: 767px){
 #hs_cos_wrapper_module_1542063421717226_, #hs_cos_wrapper_module_1542063421717226_ {
 text-align: center;
 }
 #hs_cos_wrapper_module_1542063421717226_{
 margin-top: 10px;}
}

just a heads up, you have some overflowing elements that you will want to address as well

good luck out there,

Withou a live demo this is tough to diagnose.

Try this:

In the drag and drop editor, select the CTA on the left.
Then in the Styling Editor (right panel) find the “inline styling” input and paste this css: float: right;

This will tell that element to floar to the right of its congainer. Now ensure you’re testing on a mobile device as well as a desktop as this solution may not have the desired outcome across the two.