CTA button not centered on desktop turbo theme

I’d like to center my CTA button and/or qty on my product page as it is not centered on desktop only. is there a way to fill it in or make it longer so it looks congruent. I can edit the trust badge so don’t worry about that. I am using the turbo theme.

1 Like

Hi @marvinq ,

Would you mind to share your URL website? with password if its protected? Thanks!

ssensials.com

1 Like

Thank you fro the information.

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
div#product-form-7718646743202 {
    margin: auto;
}

Just like to clear, you want to just center right? not to occupy the whole space.

I hope it help.

i dont have base.css

1 Like

check style.css or theme.css.

it didnt change the CTA position. if anything i want it to fit the same length as the product description.

1 Like

Try this.

.seven.columns.medium-down--one-whole.omega div#product-form-7718646743202 {
    max-width: 100%;
}

Result:

still nothing. i want it to change on desktop