How to make collapsible row text smaller?

My collapsible row title and answer text are to big and I want it smaller.

My store id is: 2e208a.myshopify.com

1 Like

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.

Hi @Lucas1200

This is Richard from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the 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


Hope this can help you solve the issue

Best regards,

Richard | PageFly

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

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.

Made4uoRibe_2-1726067126239.png

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.

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.