Okay
  Public Ticket #2827243
loading
Closed

Comments

  • Gladys started the conversation

    Hello, I installed the code on my homepage with the divi builder and since the page is difficult to scroll.... ?

  • [deleted] replied

    Hi Gladys,

    thank you for reaching out to ussmile.png

    If you have issue with slow scrolling of the page, unfortunately, there is some conflict with the Divi theme and there are two solutions to this. Add this script: 

    < script > var links = document .getElementsByTagName ( 'a' );
     for ( var i = 0 ; i <links.length; i ++) {
        if (links [i] .href.includes ( '#' )) {
     
         links [i] .classList.add ( 'et_smooth_scroll_disabled' );
       }
     }
     document .querySelector ( 'body' ) .classList.remove ( 'et_smooth_scroll' );
    </ script >

    to the pages where you have your Amelia shortcode. Or disable Smooth scrolling in Divi theme options. 

    Do let us know if you need any further assistance.