Aligning a button in basic shortcode for NON conerstone posts

I am using this code- button aligns left.

I would like to know what to change to get it to align center or align right -I want to control alignment according to each post.

Where do I find this info?

[x_button size=“medium” block=“true” circle=“false” icon_only=“false” href=“mailto:@__.com?subject=Website Inquiry”] Contact Us![/x_button]

Hello @cdbehrle,

Thanks for writing in! :slight_smile:

Please use this shortcode for left alignment:

[button size="medium" float="left" circle="false" icon_only="false" href="mailto:___@___.com?subject=Website Inquiry"]Contact Us![/button]

For right alignment:

[button size="medium" float="right" circle="false" icon_only="false" href="mailto:___@___.com?subject=Website Inquiry"]Contact Us![/button]

For centered alignment:

<div style="text-align: center;">[button size="medium" circle="false" icon_only="false" href="mailto:___@___.com?subject=Website Inquiry"]Contact Us![/button]</div>

You can find more info about this shortcode here.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.