How to custom layout xml and template?
To override the module on your custom theme you should create the folder module in your custom theme folder as this:
app/design/frontend/[Vendor Theme]/[Theme Name]/Ves_ImageSlider
Then copy there files and folders in folder: app/code/Ves/ImageSlider/view/frontend/ Then paste into the folder βVes_ImageSliderβ on your custom theme folder.
1. Config layout xml
Edit the file βapp/code/Ves/ImageSlider/view/frontend/layout/default.xmlβ
The content code of the file:
The module are calling 2 css files:
If you want to remove there css files you just need add code in layout xml as this:
2. Custom template
Edit the file βapp/code/Ves/ImageSlider/view/frontend/templates/widget/slides.phtmlβ
The file βapp/code/Ves/ImageSlider/view/frontend/templates/js.phtmlβ to init owl carousel js to run image slider.
Last updated