# Overwrite base.html.twig

**URL:** <https://forum.shopware.com/t/overwrite-base-html-twig/65011>\
**Category:** Themes & Design (EN)\
**Created:** [26. Februar 2020 um 12:34 UTC](https://forum.shopware.com/t/overwrite-base-html-twig/65011 "2020-02-26T12:34:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Post date:** [26. Februar 2020 um 12:34 UTC](https://forum.shopware.com/t/overwrite-base-html-twig/65011/1 "2020-02-26T12:34:17Z")

</div>

I created a new theme

And I created “custom/plugins/MY\_Theme/src/Resources/views/storefront/base.html.twig”&nbsp;to try to overwrite&nbsp;base.html.twig, and try to “bin/console theme:compile && bin/console cache:clear”

is not enough for some reason, but if you delete “var/cache” it works

Why is “cache:clear” not working?

---

<div class="post-metadata">

**Author:** ![timbrns](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timbrns/32/19740_2.png) [@timbrns](https://forum.shopware.com/u/timbrns)\
**Post date:** [27. Februar 2020 um 06:26 UTC](https://forum.shopware.com/t/overwrite-base-html-twig/65011/2 "2020-02-27T06:26:51Z")

</div>

Hi Yafar,

currently it looks like the cache clear is not working for template caches as it is supposed to be, we are working on that, looking to give more information asap!

Kind regards,  
Tim
