Solved

Reducing size of text on accordions on product page

byneilvernon
Tourist
21 0 3

Hi all,

 

I am having trouble adjusting the font sizes on my accordion tabs. I am wanting to reduce the size of both the title, and the content in the drop downs. I've included a screenshot of the current website below:

 

Screen Shot 2023-11-20 at 10.11.33 pm.png

 

Site theme is Pipeline and my url is: https://768950-4.myshopify.com/

Any form of help is greatly appreciated!

Accepted Solution (1)

Moeed
Shopify Partner
3695 932 1165

This is an accepted solution.

Hey @byneilvernon 

 

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>
.product-accordion .accordion__title {
    font-size: 13px !important;
}
.accordion__body {
    font-size: 13px !important;
}
</style>

RESULT:

Moeed_0-1700479187852.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 3 (3)

Moeed
Shopify Partner
3695 932 1165

This is an accepted solution.

Hey @byneilvernon 

 

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>
.product-accordion .accordion__title {
    font-size: 13px !important;
}
.accordion__body {
    font-size: 13px !important;
}
</style>

RESULT:

Moeed_0-1700479187852.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
byneilvernon
Tourist
21 0 3

This worked perfectly! Thank you so much

Dan-From-Ryviu
Shopify Partner
7525 1451 1449

Hi @byneilvernon 

Please go to your Online store > Themes > Assets, open theme.css file, add this code at the bottom and save file

.product__block__description .product-accordion .accordion__title,
.product__block__description .product-accordion .accordion__body { font-size: 16px; }

- Helpful? Like or Accept solution!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look
- Enjoy 1 month of Shopify for $1. Sign up now