Tagged: 

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

    How can I make the toggles all open when you first go to the page?

    Thank you.

    #122258

    Hi,

    Just add this on your custom.css or Quick CSS.

    .toggle_wrap {
    display: block !important;
    }

    Regards,

    Ismael

    #122259

    Thank you. That makes them all open but now I don’t have the option to close them if i want… I’d like to be all open and then have the option to close.

    #122260

    I’d modify the javascript – css probably won’t work in this case. Open up wp-contentthemesflashlightjsavia.js and replace:

    if(initialOpen == (i+1)) { content.css({display:'block'}); }

    with

    content.css({display:'block'});

    However note that this will break the “initial open” option. You can also try to replace it with

    if(initialOpen == (i+1)) { content.css({display:'block'}); }
    if(initialOpen == 0 || initialOpen == '') { content.css({display:'block'}); }

    - then it will open all toggles if you set the initial open option to 0.

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

The topic ‘Toggles – All Open’ is closed to new replies.