Remove

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.css file
  • The code targets .product-form__input--dropdown label with display: 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.

Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

Hello guys do you know who to remove this

1 Like

Add this code in your section-main-product.css file:

.product-form__input.product-form__input--dropdown label {
  display: none !important;
}
1 Like

Hello thanks for help me , but didn’t work :sob:

main-product.liquid :cross_mark:

section-main-product.css :check_mark:

1 Like

Yes , I post right now bud didn’t work to

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!

Hi made4uo thanks for help me but I made everything you said and didn’t work

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!

1 Like

Brother you are the goat thanks so much