Hello!
I’d like to be able to change the check boxes in the filter section on product pages to circles. When you click on the circle it would be filled instead of a check mark.
Goal: Replace product filter checkboxes in the Dawn theme with circular indicators that fill when selected.
What was proposed:
Mobile support:
Other suggestions:
Outcome/status:
Hello!
I’d like to be able to change the check boxes in the filter section on product pages to circles. When you click on the circle it would be filled instead of a check mark.
Hey, @Jaclyn2
I’m not formally trained in code to provide you with an exact solution to adjust the filter buttons to circles. However, I’m confident one of our Shopify experts would be able to accomplish this at a reasonable price.
If there is anything else I can help you with, please let me know.
Hi @Jaclyn2 ,
Please follow the instructions below
.facet-checkbox svg.icon.icon-checkmark {
aspect-ratio: 1;
height: auto;
transform: translate(-0.5px, -1.5px);
background: #000;
}
label.facet-checkbox svg > rect {
display: none;
}
label.facet-checkbox svg {
border: 1px solid;
border-radius: 50%;
}
Finish product below
Thank you! Is there a way for the code to also work on mobile?
Copy and paste his code, and replace ‘label.facet-checkbox’ with ‘.mobile-facets__label’ like this
}
.mobile-facets__label svg.icon.icon-checkmark {
aspect-ratio: 1;
height: auto;
transform: translate(-0.5px, -1.5px);
background: #FFFFFF;
}
.mobile-facets__label svg > rect {
display: none;
}
.mobile-facets__label svg {
border: 1px solid;
border-radius: 50%;
}