> For the complete documentation index, see [llms.txt](https://landofcoder.gitbook.io/reward-point/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://landofcoder.gitbook.io/reward-point/config-and-usage/faq/how-to-custom-layout-xml-and-template.md).

# 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:
* ```
  <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  	<head>
  		<css src="Ves_ImageSlider::css/owl.carousel.min.css" />
  		<css src="Ves_ImageSlider::css/animate.css" />
  	</head>
  	<body>
  		<referenceContainer name="before.body.end">
  			<block class="Magento\Framework\View\Element\Template" name="imageslider.js" template="Ves_ImageSlider::js.phtml" />
  		</referenceContainer>
  	</body>
  </page>
  ```
* The module are calling 2 css files:
* ```
  <css src="Ves_ImageSlider::css/owl.carousel.min.css" />
  <css src="Ves_ImageSlider::css/animate.css" />
  ```

If you want to remove there css files you just need add code in layout xml as this:

```
<remove src="Ves_ImageSlider::css/owl.carousel.min.css" />
<remove src="Ves_ImageSlider::css/animate.css" />
```

**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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://landofcoder.gitbook.io/reward-point/config-and-usage/faq/how-to-custom-layout-xml-and-template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
