All things Shopify and commerce
Hi community! I dont suppose anyone knows how to remove the boarder boxes from the size options on a product page? I want it to display as a link underline style instead.
URL (Symmetry theme) – https://pantee.co.uk/?_ab=0&_fd=0&_sc=1&preview_theme_id=144118972631
Current Look –
What we are aiming for –
Solved! Go to the solution
This is an accepted solution.
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above </body>
<style>
.opt-btn:checked + .opt-label,
.opt-label {
border: none!important;
box-shadow: none!important;
}
.opt-btn:checked + .opt-label > span {
text-decoration: underline!important;
}
</style>
Result:
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
Ok change the previous code like this
<style>
.opt-btn:checked + .opt-label,
.opt-label {
border: none!important;
box-shadow: none!important;
}
.opt-btn:checked + .opt-label > span {
text-decoration: underline!important;
}
.opt-btn.is-unavailable + .opt-label {
background: none!important
}
</style>
Result:
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above </body>
<style>
.opt-btn:checked + .opt-label,
.opt-label {
border: none!important;
box-shadow: none!important;
}
.opt-btn:checked + .opt-label > span {
text-decoration: underline!important;
}
</style>
Result:
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
@emilyaugstudios ,please copy the newest code i've just edited
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Thank you for the help! Is there a way to make the underline only appear on the selected size choice? Also do you know how I can reduce the padding between each size option too now as they look very spaced out without the border?
Current look –
What I'd like –
@BSSCommerce-B2B The new code you've added is a lot better thank you! Just the padding to figure out now, I really appreciate the help!
@emilyaugstudios, glad to hear that 😊
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Have you fixed it yet? If my solution is helpful, please like and mark the solution 😍
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Hi @BSSCommerce-B2B – I'm just wondering if you know how to remove the 'sold out' boxes from the size options, like the way we did above? Is it possible to just have the size option display grey/lighter instead of black when it is sold out so customers know?
This is an accepted solution.
Ok change the previous code like this
<style>
.opt-btn:checked + .opt-label,
.opt-label {
border: none!important;
box-shadow: none!important;
}
.opt-btn:checked + .opt-label > span {
text-decoration: underline!important;
}
.opt-btn.is-unavailable + .opt-label {
background: none!important
}
</style>
Result:
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Thank you 🙏
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024