Shopify themes, liquid, logos, and UX
Hi, I am trying to change the color of the background on our faq accordian boxes to match our current blue (as shown in website header): 23BFD0. I've been able to change the text color to white, but haven't figured out how to change the blue. Please see screenshot.
Current theme is Fresh
website: tommyscookieco.com/pages/faq
Solved! Go to the solution
This is an accepted solution.
Hi @stephwiley,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
.accordion--faq-wrapper .accordion-container .accordion-content {
background-color: var(--header-background) !important;
}
result:
Thanks for your help. I tried it but it didn't change the color. I went into the inspect section to see if I could find out the class but I haven't been able to figure it out.
Hey Steph!
Try this bit of CSS:
main .accordion--faq-wrapper .accordion-container .accordion-content summary,
main .accordion--faq-wrapper .accordion-container .accordion-content .Faq_Content {
background: #23bfd0;
}
Go to Shopify Admin > Online Store > Themes > Customize > Theme settings. Add the CSS in the Custom CSS section and click Save.
Hopefully that works.
Cheers,
Simon
Please add this code to Custom CSS in Sales channels > Online Store > Themes > Customize > Theme settings.
accordion--faq-wrapper .accordion-container .accordion-content {
background-color: #23BFD0 !important;
}
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This is an accepted solution.
Hi @stephwiley,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
.accordion--faq-wrapper .accordion-container .accordion-content {
background-color: var(--header-background) !important;
}
result:
thank you so much! it worked - really appreciate the help.
Hi @stephwiley,
You're welcome and happy to help 😊
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