All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi there, just wondered if anyone could help me with this. The 'sort by' menu, on my products/collection pages, seems to have a thick border around the text when active (the border disappears when I click somewhere else). Is there any way to get rid of the border? I have tried many codes but to no avail. Can anyone please help?
Solved! Go to the solution
This is an accepted solution.
You can find the code on the component-facet.css on the asset folder.
If in case you dont like to overide them. But to override them we can just add !important.
.facet-filters__sort:focus-visible {
outline: none !important;
box-shadow: none !important;
}
.mobile-facets__sort .select__select:focus-visible {
outline: none !important;
box-shadow: none !important;
}
.mobile-facets__sort .select__select.focused,
.no-js .mobile-facets__sort .select__select:focus {
outline: none !important;
box-shadow: none !important;
}
.facet-filters__sort.focused,
.no-js .facet-filters__sort:focus {
outline: none !important;
box-shadow: none !important;
}
And save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @crepscity
Would you mind to share your store URL? Thanks!
Thanks for the info, check this one.
.facet-filters__sort:focus-visible {
outline: none;
box-shadow: none;
}
.mobile-facets__sort .select__select:focus-visible {
outline: none;
box-shadow: none;
}
.mobile-facets__sort .select__select.focused,
.no-js .mobile-facets__sort .select__select:focus {
outline: none;
box-shadow: none;
}
.facet-filters__sort.focused,
.no-js .facet-filters__sort:focus {
outline: none;
box-shadow: none;
}
I also remove the mobile.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Ive tried the above code but it didnt work?
This is an accepted solution.
You can find the code on the component-facet.css on the asset folder.
If in case you dont like to overide them. But to override them we can just add !important.
.facet-filters__sort:focus-visible {
outline: none !important;
box-shadow: none !important;
}
.mobile-facets__sort .select__select:focus-visible {
outline: none !important;
box-shadow: none !important;
}
.mobile-facets__sort .select__select.focused,
.no-js .mobile-facets__sort .select__select:focus {
outline: none !important;
box-shadow: none !important;
}
.facet-filters__sort.focused,
.no-js .facet-filters__sort:focus {
outline: none !important;
box-shadow: none !important;
}
And save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you it worked
Hi There,
Just purchased the impact theme, I can’t figure out how to remove these borders around variant picker, currency selector, main menu box, and sort box.
any ideas how to remove these?