Shopify themes, liquid, logos, and UX
My collapsible row title and answer text are to big and I want it smaller.
My store id is: 2e208a.myshopify.com
Hi @Lucas1200
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.product__accordion .accordion__content {
font-size: 1.5rem;
}
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
And how to make the title's smaller of the collapsible row?
And how to make the font weight the same? I see that de awnser text has a bigger fontweight.
Yes, I only adjust .1rem for the font. If you like the title and the content check this one below.
Same Instruction.
/* Header */
.accordion h2.h4.accordion__title {
font-size: 12px;
}
/* Content */
.product__accordion .accordion__content {
font-size: 10px;
}
And Save.
result:
Note: you can adjust the sizes you want.
Also for this question "And how to make the font weight the same?" Do you want the font weight same on the header title? If it is replace this code.
/* Header */
.accordion h2.h4.accordion__title {
font-size: 12px;
}
/* Content */
.product__accordion .accordion__content {
font-size: 10px;
font-weight: 600;
}
And save.
result:
it have same on the title.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
For the text it works, but the title is still not changing its size...
Do you also know how to put the content text left? Like the picture i attached.
Hi @Lucas1200
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
.accordion__title,.accordion__content {
font-size: 14px;
font-weight: 500;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
For the font-weight it works, but the title is still not changing its size...
Do you also know how to put the content text left? Like the picture i attached.
Hello @Lucas1200
Go to online store ----> themes ----> actions ----> edit code---->base.css
add this code at the end of the file.
@media screen and (min-width: 750px) {
body {
font-size: 13px !important;
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025