Post by Ivakis_Solo » Wed Jan 24, 2018 11:16 pm

Hi, is there a way to remove the dots under the slideshow banners. In particular I'm interested in removing the dots under the Manufacturers slideshow on home screen but I don't mind them being removed from all slideshows. My Opencart version is 3.0.2.0.
Thanks in advance!

User avatar
Newbie

Posts

Joined
Wed Feb 10, 2016 10:59 pm
Location - Bulgaria

Post by straightlight » Wed Jan 24, 2018 11:25 pm

catalog/view/theme/<your_theme>/template/extension/module/banner.twig file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by DigitCart » Thu Jan 25, 2018 1:03 am

I think you mean the carousel.

Code: Select all

catalog\view\theme\default\template\extension\module\carousel.twig
You will see there:

Code: Select all

$('#carousel{{ module }}').swiper({
	mode: 'horizontal',
	slidesPerView: 5,
	pagination: '.carousel{{ module }}',
	paginationClickable: true,
	nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev',
	autoplay: 2500,
	loop: true
});
Change it to:

Code: Select all

$('#carousel{{ module }}').swiper({
	mode: 'horizontal',
	slidesPerView: 5,
	nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev',
	autoplay: 2500,
	loop: true
});

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by nightwing » Thu Jan 16, 2020 12:20 pm

For Opencart 3.0.3.2 you can go to Digicerts location and just uncomment Line 7 like this:

Code: Select all

  <!-- <div class="swiper-pagination carousel{{ module }}"></div> -->
That should do the trick easily.

Regards,
Nightwing
Access to my Free Extensions: https://www.opencart.com/index.php?rout ... =nightwing


Active Member

Posts

Joined
Tue Nov 05, 2019 11:08 pm


Post by straightlight » Fri Jan 17, 2020 11:11 pm

With HTML 5, commenting lines should not be used. In addition, when TWIG files are being edited, ensure to follow this FAQ: viewtopic.php?f=176&t=200804#p718325

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by nightwing » Sat Jan 18, 2020 12:23 am

You are absolutely right, I just noticed it in the page source and inspection. :(
straightlight wrote:
Fri Jan 17, 2020 11:11 pm
With HTML 5, commenting lines should not be used. In addition, when TWIG files are being edited, ensure to follow this FAQ: viewtopic.php?f=176&t=200804#p718325

Regards,
Nightwing
Access to my Free Extensions: https://www.opencart.com/index.php?rout ... =nightwing


Active Member

Posts

Joined
Tue Nov 05, 2019 11:08 pm

Who is online

Users browsing this forum: Bing [Bot], daniil_oc, pprmkr, WaxedPerfection and 468 guests