Post by truthwearUK » Sun Jul 26, 2020 4:03 am

..resize or even remove the homepage slideshow IF the visitor is on a mobile device, or screen below a certain size?

Website speed is ok on desktop, but lousy on mobile, and when i disable the slideshow it improves dramatically. Only it's quite important.

Any suggestions are highly appreciated - i'm ok c & p'ing code if this has been asked many times before /have searched, sorry if wrong etiquette, i'm a new user, and brand new to the forum. Thanks in advance :-)

Newbie

Posts

Joined
Thu Jul 16, 2020 9:15 am

Post by johnp » Sun Jul 26, 2020 5:14 pm

If you use the excellent OC Bootstrap Pro theme or any bootstrap theme you can hide the slider on a mobile device easily enough. You just need to download and edit the relevant template. If you use bootstrap 3 it would be:

<div class="hidden-xs">

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD 2.6.1 lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by IP_CAM » Sun Jul 26, 2020 5:16 pm

Better link your Site, so one can take a look. And always mention the OC Version and the Theme you use,
or it makes no sense, trying to reply on such.
Ernie

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 14 guests