New Landing How can we help? Themeforest Theme Support Flexform Toggle element – colour change

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Flexform
  • #3297
    deaconpt
    Member
    Post count: 47

    Hello,

    I wanted to know if the toggle element can also behave like the ‘accordion section’! For example when we mouse over it changes colour.

    <a href="http://grab.by/m4yk" title="screenshot">

    Also can we change the main colour of the toggle element which is white by default?

    Thank you.

    #3397
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    Toggles are different in functionality and purpose than accordions, so they can’t behave the same.

    To add hover color to a toggle, use this custom CSS in the theme options:

    .wpb_toggle:hover { background: #FB3C2D; }

    For the default background color of a toggle element:

    .wpb_toggle { background: #FB3C2D; }

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #19266
    aaustin69
    Member
    Post count: 115

    Cosmin, thanks for this info. One other question. Is there a way to change the color of the title text in the toggle bar when hovering over it. For example, if I am using a dark color for the hover background, I would like change the font to white (so it is readable).

    Thanks,

    Alan

    #19600
    Melanie – SUPPORT
    Member
    Post count: 11032

    Try

    .wpb_toggle:hover { color: #fff!important; }

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register