How can I center my 'Buy Now' button within a section?

Hello,

I am trying to center my “Buy Now” button within the section. What do I need to do in order to get my button centered?

Thanks

HI @GildedSocial

Can you share with me the page url

https://www.carmellaandrose.com/

Currently, it is on the right side.

That is how it is now yes. I want to add the button below and in the center. I am working off a copy of the live site.

The code for my button is:

<a href="[https://www.carmellaandrose.com/products/the-carmella](https://www.carmellaandrose.com/products/the-carmella)" BUY NOW

On the center of all columns or an individual one?

I removed the button on the side and added it underneath the columns. I want the button to be centered now.

Please share the link to the preview copy on which you are working.

https://icforr7zaqy673lg-64501874901.shopifypreview.com

Hi @GildedSocial ,

You can try this code

  1. Go to Online Store-> Theme->Edit code
  2. Asset-> theme.css ->paste the below code at the bottom of the file.
.comparison-section .primary-btn{
  margin: 0 auto !important;
}