Public Ticket #1856960
remove ls-hidden div


  • rodrigovassia started the conversation

    Hi, when the slider starts, it creates a hidden DIV below BODY. The DIV is similar to this:

    <div class="ls-wp-container fitvidsignore ls-hidden ls-outline ng-scope ls-container ls-fullsize" data-layerslider-uid="LS6ooy3jxxk">

    <div class="ls-slide" data-ls="bgsize:cover; bgposition:50% 50%; duration:8000; transition2d:3; timeshift:0; deeplink:home; kenburnszoom:in; kenburnsrotate:0; kenburnsscale:1.3; parallaxevent:scroll; parallaxdurationmove:1500;" style="width: 1200px; height: 800px;"></div>


    I don't want create this DIV because I use angularjs and this causes problems later and I don't want that add ID="LS-GLOBAL" in HTML tag

  • [deleted] replied

    Hello rodrigovassia,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    Unfortunately you cannot remove these DIVs, they are necessary for the slider to work. This is how LayerSlider operates currently, so you cannot modify or delete these elements. Thank you for your understanding.

  • rodrigovassia replied

    Ok, but I need to finish the slider manually. 

    Because, I when redirected to another page (AngularJS does'n refresh the pages) that does'n have sliders, the DIV keeps appearing and generates errors in the console.

    How can I solve this problem?

  • [deleted] replied

    Could you please show us your site or a test page where we can check on this ?

    As I can see the URL you provided is not live yet.