What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: How to change font size of text in accordion

How to change font size of text in accordion

doorstepdrip
Excursionist
45 0 10

Hey, how can I change the font size of the text in my accordion on my product page? Whenever I try to change it, it also changes the text of some of my footer menu text 

356C7263-D550-4EAD-94F7-FA0E98458B65.png



id like for all the text in this accordion to be a little smaller please

 

 My website is: doorstepdrip.com 

 

any help would be much appreciated 

saon
Replies 4 (4)

Dan-From-Ryviu
Shopify Partner
10338 2049 2132

Hi @doorstepdrip 

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

.product__info-container .product__accordion .accordion__content p {
font-size: 14px !important;
}

 

- Helpful? Like and Accept solution! Or Support me: Buy Coffee
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Moeed
Shopify Partner
6364 1723 2084

Hey @doorstepdrip 

 

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__content p {
    font-size: 12px !important;
}
</style>

RESULT:

Moeed_0-1698912250321.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 Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


PageFly-Oliver
Shopify Partner
878 190 184

Hi @doorstepdrip ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
#MainContent .product__accordion .accordion__content{
font-size:13,5px
}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

ZenoPageBuilder
Shopify Partner
1052 203 227

Hello @doorstepdrip 👋

Inside Shopify Admin, you can go to Edit theme code, open file base.css and add this code at the bottom

.product__accordion * {
    font-size: 14px !important;
}

The result

Screenshot 2023-11-02 at 15.57.09.png

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com