# Override the Widgets Templates

> To override a template in your child theme, you need to create a file with the desired template name.

Source: https://webnus.net/shoppress/helpdesk/override-the-widgets-templates/
Last updated: 2024-06-26

To override a template in your child theme, you need to create a file with the desired template name.

In this example, we will override the product title template.

1.  Create a folder named “shop-press” in your child theme directory.
2.  Inside the “shop-press” folder, create a file named “product-title.php”.

The path to the new file should be:  
`wp-content/themes/your_child_theme/shop-press/product-title.php`
