Shopify themes, liquid, logos, and UX
Hi all,
Nice to write here with this community
I have a very low experience with coding.
I just want to make the squares look smaller and delete the size number.
thank you in advance for your help
@TiagoSilva23 - can you please share this page link?
Hey @TiagoSilva23
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.radio__legend span:not(.radio__legend__label) {
display: none !important;
}
.radio__fieldset .radio__button label {
padding: 5px !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
@TiagoSilva23 - add this css to the very end of your theme.css file and check, adjust numbers as per the need
.product__align-left .radio__button label {padding: 8px !important;
max-width: 40px !important;}
.radio__legend span:not(.radio__legend__label) {display: none;}
its possible to make it with the same margins between them ? And you can increase the space to fit on more square per row?
thank you
@TiagoSilva23 - update css to add margin bottom to it, so it becomes, adjust number as per the need
.product__align-left .radio__button label {padding: 8px !important;
max-width: 40px !important; margin-bottom:10px;}
i was talking about this space
@TiagoSilva23 - it is column grid structure, I do not recommend to change it
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024