I’d like to center all text within every dropdown and center the quantity selector on every instance on my page.
Hi @TonyG54
Can you tell clearly the dropdown Text and quantity selector? You still have the title in the page align in the left would you like to center it? if it is.
Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.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:
h1.title.title--primary.inline-richtext.scroll-trigger.animate--fade-in {
text-align: center;
}
h2.title.title-wrapper--no-top-margin.inline-richtext.h1.scroll-trigger.animate--slide-in {
text-align: center;
}
h1.title--primary.scroll-trigger.animate--fade-in {
text-align: center;
}
- And Save.
- Result:
i hoe it help.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you for the clarification. If you like to center the quantity selectore this would be the outcome.
If its okay this is the code.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.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:
.price-per-item__container {
justify-content: center;
}
- And Save.
For the FAQ Page. Try this one.
- Same Instructions.
.grid.grid--1-col.grid--2-col-tablet.collapsible-content__grid.collapsible-content__grid--reverse.scroll-trigger.animate--slide-in p {
text-align: center !important;
}
- And Save.
- Result:
I hope it help.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
It worked! Thank you very much!





