Disable slider

Poni

New Member
I just took this one out:

<?php get_template_part( 'tpl/widget/_slider' ); ?>

in

Static Front Page (front-page.php)

and seems to work.
 

medjbour

Member
file : /tpl/widget/_slider.php
you can fix the problem on mobile browser :

style="max-width:100%"

<img data-lazy="<?php echo $item['img'] ?>?1000" style="max-width:100%" alt="">
 

Groan

Member
The problem with editing the code is you will need to keep editing that code after every template update. It's better to find the CSS component and edit that.

Unfortunately I've been unable to successfully hide mine this way. It leaves the space blank but I havn't been able to get the space it took up to be smaller. If I find this I'll let you know.
 

Real Residual

Active Member
I haven't tested this but a quick look at the demo site I see you can do this in Customization

Code:
.home-slider .slick-initialized .slick-slider .slick-dotted {
    display: none;
}

That should hide the slider for good. At least it works just fine in chrome browser.
 
Last edited:

acoustics

New Member
Thanks. I don't see any disable slider option in any of the customization settings. I'm in Home settings where the slider options are.

Also, what would be even better is just to disable on mobile devices. Slider looks fine on desktop but not so much on mobile devices.

Appreciate the help!
 
Top