Slider shape dividers / lazy loading

5 replies·opened Jun 12, 2020
T
themepackJun 12, 2020

In the demo file shape-dividers.html, when I remove the 'lazy' class from swiper-slider, the background image as defined in data-bg, fails to appear

I've also noticed that 'plugins.subscribe.js' is loading even though I don't have a subscribe form on a page. Is it because I have the top search in the template and because it's a form it's loading the subscribe script anyway?

S
SemiColonWebSTAFFJun 13, 2020

Hello,

Thanks for your Patience!

  1. Once you remove the .lazy Class from the Lazy Loading Element, you will need to change the data-bg to style="background-image: url('{image}');". The data-bg is only used for the Lazy Loading Elements.

  2. This should not happen if there is no Subscription Element on the Page. Can you please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

S
SemiColonWebSTAFFJun 15, 2020

Hello,

This is the code that is causing the Subscription Plugin to load on the Page:

<div class="widget subscribe-widget clearfix">

Specifically the .subscribe-widget Class.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

T
themepackJun 16, 2020

brilliant, thank you

S
SemiColonWebSTAFFJun 16, 2020

Hello,

Do let us know if we can help you with anything else.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard