BenH40
1
Hi there community, ive just updated my store this week and have removed a bunch of junk code. and previous code used to hide these no longer work.
I’m looking for help regarding variant dropdowns.
I am wanting to keep the variant heading but hide the dropdown option because i option have one option for each variant.
product item
Cheers for any help you can provide Ben
Store password
Burgess
2 Likes
@BenH40
Please add the following code at the bottom of your assets/theme.css file.
Show More
@media screen and (min-width: 641px){
Show More
.block-swatch { display: none; }
Show More
}
Hope this works.
@BenH40
sorry for that issue can you try this code
- Go to Online Store->Theme->Edit code
- Asset->/theme.css ->paste below code at the bottom of the file.
.product-form__option .block-swatch {display: none;}
hello @BenH40
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
.product-form__option .block-swatch {
display: none;
}
@BenH40
.product-form__option .block-swatch
{
display: none !important;
}
Add these code to theme.scss or style.css
1 Like
BenH40
6
Cheers again thanks awesome help.