Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1343037

    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.

    #1343153

    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

    #1343172

    Great – that’s perfect.
    Thank you.

    #1343204

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Toggle Background Color When Opened’ is closed to new replies.