how to make my custom slideshow display only on homepage;
Posted: Sun Oct 18, 2020 5:53 am
Hi everyone!
Still a fresh newbie and wanting to learn more. i am using the newest Opencart 3.0.3.6. I wanted to make the standard slide show image to be fullwidth then found it difficult so i decided to insert my own "DIV" containing images for my slide show in: catalogue/view/theme/default_theme/template/common/header.twig and also have inserted the script. so the slide show worked well with the script and it displays in all the pages of my website but i want it to display only in home page.
so my question is how to make the slideshow not to display in other pages but only in Homepage.
please can any one help me here?
this is the site codesandgrafix.com
Thanks in advance
Still a fresh newbie and wanting to learn more. i am using the newest Opencart 3.0.3.6. I wanted to make the standard slide show image to be fullwidth then found it difficult so i decided to insert my own "DIV" containing images for my slide show in: catalogue/view/theme/default_theme/template/common/header.twig and also have inserted the script. so the slide show worked well with the script and it displays in all the pages of my website but i want it to display only in home page.
so my question is how to make the slideshow not to display in other pages but only in Homepage.
please can any one help me here?
this is the site codesandgrafix.com
Thanks in advance