Tagged: toggle
How can I change the toggle background color to match the “current toggle” as opposed to the initial un-opened toggle color? Currently I have a green toggle background with blue lettering. Once the toggle is clicked it switches to a blue background with white lettering on the toggle, but the toggle information box is still green with blue lettering. I would like it to be the blue with white lettering.
Thanks in advance.
Hey advteksol,
Thanks for the login, I added this css to your Quick CSS:
#top.page-id-821 #main .togglecontainer .toggle_wrap.active_tc .toggle_content {
background-color: #072f4c;
color: #fff;
}
I added the page ID so it will only work on the FAQ page so it won’t interfere with other toggles on your site.
Please clear your browser cache and check.
Best regards,
Mike
Great – that’s perfect.
Thank you.
Hi,
Great, I’m glad that Mike could help you out. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard