css coding to change colour of FAQ section divider and icon

I have a page with multiple FAQ sections

I need to change the colour of the icon and divider in each section with CSS.
I am using turbo theme OOTSB.
any help would be greatly appreciated.

1 Like

Can you share your store’s URL?

Hi @StevieBuoy , Can you kindly share your store link with us? We will check it and suggest you a solution if possible.

https://www.steviebuoy.com.au/pages/perfume-collection

icon and divider in each section are pink and need to match title colour please

https://www.steviebuoy.com.au/pages/perfume-collection

icon and divider in each section are pink and need to match title colour please.

  1. Go to ‘Online Store’ → Themes → Edit Code

  2. In the assets folder, locate the file ‘styles.css’

  3. At the bottom of the file paste the below code

.faqAccordion>dt>button {
    border-bottom-color: black; /* Adjust the color according to your preference */
}
.faqAccordion>dt>button:hover{
    border-bottom-color: black /* Adjust the color according to your preference */
}
.faqAccordion>dt>button:focus{
    border-bottom-color: black /* Adjust the color according to your preference */
}
.faqAccordion>dt>button::after {
    color: black; /* Adjust the color according to your preference */
}
  1. Go to ‘Online Store’ → Themes → Edit Code

  2. In the assets folder, locate the file ‘styles.css’

  3. At the bottom of the file paste the below code

#shopify-section-template--22888501674277__main .faqAccordion>dt>button {
    border-bottom-color: black; /* Adjust the color according to your preference */
}
#shopify-section-template--22888501674277__main .faqAccordion>dt>button:hover{
    border-bottom-color: black /* Adjust the color according to your preference */
}
#shopify-section-template--22888501674277__main .faqAccordion>dt>button:focus{
    border-bottom-color: black /* Adjust the color according to your preference */
}
#shopify-section-template--22888501674277__main .faqAccordion>dt>button::after {
    color: black; /* Adjust the color according to your preference */
}

Thank you this worked perfectly

Thank you for your help :blush: