Hello guys do you know who to remove this
Topic summary
A user seeks help removing a variant selector dropdown label from their Shopify product page. Multiple solutions are proposed:
Initial attempts (unsuccessful):
- Adding CSS code to
section-main-product.cssfile - The code targets
.product-form__input--dropdown labelwithdisplay: none !important
Working solution:
Adding custom CSS through Shopify’s theme customizer:
- Navigate to Customize > Click product template
- Select product information section on the left
- Scroll down to find Custom CSS option
- Paste the CSS code:
.variant-selects legend.form__label { display: none; } - Save changes
Key distinction: The solution requires using the theme customizer’s Custom CSS feature rather than directly editing theme files. The user confirms this approach successfully resolved the issue.
Screenshots are shared throughout showing the specific UI elements and code placement locations.
Add this code in your section-main-product.css file:
.product-form__input.product-form__input--dropdown label {
display: none !important;
}
main-product.liquid ![]()
section-main-product.css ![]()
This is you website, right? https://www.behumblee.com/
Hi @Suco
Check 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:
variant-selects legend.form__label {
display: none;
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Yes
Try to add in the in here.
Go to Customize > Click product on the top
Then click the prouct information on ther left there will be some buttons will come on the left > scroll down and youll find the Custom Css. Then Paste this code below.
variant-selects legend.form__label {
display: none !important;
}
And Save.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Brother you are the goat thanks so much






