I am using Dawn theme 13.0.1 and have no idea how to center the section that I have circled. Please help!
1 Like
Hello @abeillebliss1
Can you share store URL?
Hi @abeillebliss1 ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file → Save
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
thank you but that centered the text on the entire page. I only want the section I circled to be centered.
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hello There,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > base.css and paste this at the bottom of the file:
.product-form__input {
text-align: center;
max-width: 100%;
}
.price-per-item__container {
display: inline-flex;
}
.product__info-container>*+* {
text-align: center;
}
.product__title>* {
text-align: center;
}
.product-form__buttons {
max-width: 100%;
}


