Plugin Support
Laszlo
(@laszloszalvak)
Hi @alexdx
I checked the two pages linked above, and in both cases, I see the same problem, that something ( probably your theme ) generates a file with Critical CSS:
and the critical CSS will contain some styles, that will hide the slide background images of the slider.
Could you disable this critical CSS feature and see if that fixes the problem?
Thread Starter
alexDx
(@alexdx)
Thank you for your quick reply! So I removed the critical CSS from each site, but now there is another issue:
When you go to this site now (after removing critical CSS): https://vet2pet.ca/ in an incognito browser, the slider doesn’t load at all. If I go to another tab, and then go BACK to the https://vet2pet.ca/ site, the slider loads, but there is a very strange effect going on … the slider almost appears to be shaking?
Same thing on this site:
https://www.animalhospitalatbaldwinpark.com/
-
This reply was modified 2 years ago by
alexDx.
-
This reply was modified 2 years ago by
alexDx.
Plugin Support
Laszlo
(@laszloszalvak)
Hi @alexdx
On this page:
what I currently see is that you have some custom CSS added to the slider:
.n2-ss-section-main-content p {
max-width: 340px;
}
.n2-section-smartslider {
z-index: 0 !important;
position: static !important;
margin-top: 121px;
}
.n2-ss-slider .n2-ss-slide-background-image {
background-position: top !important;
}
coming from this file:
and that is what causes the gap, more specifically the margin. Removing the custom CSS will fix the problem.
As for the shaking on the other sites:
The problem seems to be caused by that the width of your slider continuously increases and decreases, which will result in this shaking.
This seems to be connected to the width of the containers which are specified in vw unit:
#page {
width: 960px;
max-width: 90vw;
}
.home .inside-article {
padding-left: 40px !important;
width: 100vw;
box-sizing: border-box;
padding: 0;
}
and the align-items:center;
.home .entry-content {
display: flex;
flex-direction: column;
align-items: center;
}
My colleague managed to reproduce this shaking with these on her local test site, so we reported this problem to our senior developer to see if there is a possible solution for this problem on our end.
Since your container is already full width, what you could try as a temporary solution is to disabling the “Force full width” option:
https://smartslider.helpscoutdocs.com/article/1776-fullwidth-layout
Best regards,
Laszlo.
Thread Starter
alexDx
(@alexdx)
Okay thank you, please let me know if you developer finds a fix for this. The slider was working fine (with the above CSS in place) before the update. I tried disabling the “Force Full Width” option, and the slider works, but it is very small.
Thread Starter
alexDx
(@alexdx)
If your team can’t find a fix for this issue, I’m just going to have to find another slider plugin. I use this on hundreds of websites, but I can’t continue to use it if it is not compatible with my CSS.
Hi @alexdx
We made some changes and it seems we were able to fix this bug. Before we’d release the patch, could you check if it indeed solves the problem for you? I’ve uploaded an installer which contains the fix here for you:
https://www.dropbox.com/s/w0gpzd2x99wc8ch/smart-slider3-wordpress-free-bugfix-SSDEV-3059-force-fullwidth-calculation-c.zip?dl=1
You should just go to your Plugins list, delete your current Smart Slider 3 (don’t worry, your sliders will stay) and install new build like this:
https://smartslider.helpscoutdocs.com/article/1717-wordpress-installation
Please let me know if this solves the problem!
Also, about the “critical CSS” related problem mentioned earlier, could you please open a support ticket at:
https://smartslider3.com/contact-us/support/?ref=https://wordpress.org/support/topic/slides-no-longer-showing-on-multiple-sites-after-updating-to-new-version/
To see if we can figure out something to make Smart Slider work with the Critical CSS option enabled?
Thread Starter
alexDx
(@alexdx)
Hey Ramona, that new version fixed the issue!
Great! Thanks for confirming. We’ll include the fix in the next releases as well!