• Resolved urbanscom

    (@urbanscom)


    Hi,
    Each time i click on the “plus” to open the TAB it scroll up to the top of my website.
    Enable Toggle/Collapse is ON

    i also tried disabled the button arrow up of divi but still not working

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @urbanscom,

    Please go to plugins > plugin editor select Responsive Accordion and Collapse plugin and go to front > ac.content.php file line number 79 replace with below code.

    <a class="<?php if($i!=1){ echo "collapsed"; } ?>" data-toggle="collapse" data-parent="<?php if($enable_toggle=="no") { ?>#wpsm_accordion_<?php echo $post_id; ?> <?php } ?>" href="#ac_<?php echo $post_id; ?>_collapse<?php echo $i; ?>" >

    To

    <a class="<?php if($i!=1){ echo "collapsed"; } ?>" data-toggle="collapse" data-parent="<?php if($enable_toggle=="no") { ?>#wpsm_accordion_<?php echo $post_id; ?> <?php } ?>" href="javascript:void(0)" data-target="#ac_<?php echo $post_id; ?>_collapse<?php echo $i; ?>" >

    if it works let us know

    Thank you

    Hi,
    Each time i click on the “plus” to open the TAB it scroll up to the top of my website.
    Enable Toggle/Collapse is ON

    i also tried disabled the button arrow up of divi but still not working

    https://laurabenabou.urbanscom.net/faq-test/

    the same problem in my website also.

    <a class="<?php if($i!=1){ echo "collapsed"; } ?>" data-toggle="collapse" data-parent="<?php if($enable_toggle=="no") { ?>#wpsm_accordion_<?php echo $post_id; ?> <?php } ?>" href="javascript:void(0)" data-target="#ac_<?php echo $post_id; ?>_collapse<?php echo $i; ?>" >`

    this code works. thank you.

    Hi @sapthaka,

    Glad that your issue has been resolved. If you like our plugin please rate us.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Toggle/Collapse problem’ is closed to new replies.