I too am trying to hide a nectar slider for mobile users, I originally just tried to edit the responsive options on the page, but the 'hidden on device' didn't seem to affect the nectar slider. When I used the code I found below, it did hide it, but it only masked it with a black bar. Is there a way to make it go away completely and have the content below moved to the top?
The class I used for this slider is "nextgen" and the code I used was:
@media only screen and (max-width: 1000px) { .nextgen { display: none!important; } }
If you have the Parallax Option Activated in the Nectar Slider Settings the class name wont get added to the Frontend as the Html Markup is different .
Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
/* if Parallax Option is Checked */
@media only screen and (max-width: 1000px) {
.nectar-slider-wrap {
display: none!important;
}
}
Hi, I would hide Nectar Slider on mobile devices for a faster loading, replacing with a bg static image (es: row bg image)
I tried with this extra css, suggested by author team, in custom scc box:
@media only screen and (max-width: 1000px) {
.nectar-slider-wrap {
display: none!important;
}
}
but on mobile results in a grey box in place of the slider.
any advice?
thank U in advance, Teo
Hey!
Thanks
ThemeNectar Support Team
Hi Tahir,
I too am trying to hide a nectar slider for mobile users, I originally just tried to edit the responsive options on the page, but the 'hidden on device' didn't seem to affect the nectar slider. When I used the code I found below, it did hide it, but it only masked it with a black bar. Is there a way to make it go away completely and have the content below moved to the top?
The class I used for this slider is "nextgen" and the code I used was:
@media only screen and (max-width: 1000px) {
.nextgen {
display: none!important;
}
}
@Paul,
If you have the Parallax Option Activated in the Nectar Slider Settings the class name wont get added to the Frontend as the Html Markup is different .
Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
Bes.t
ThemeNectar Support Team