Skip to content

Instantly share code, notes, and snippets.

@antoniocosentino
Last active May 3, 2018 09:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antoniocosentino/e3d8543e424076c5c77c5c15cbb4c6c6 to your computer and use it in GitHub Desktop.
Save antoniocosentino/e3d8543e424076c5c77c5c15cbb4c6c6 to your computer and use it in GitHub Desktop.
Shopware5 template customization for Dirndltopia (fixes issue with mobile menu shown on desktop). Replace here: /shopware5/engine/Shopware/Plugins/Local/Frontend/StylaSEO/Views/frontend/magazin/index.tpl
{extends file='parent:frontend/custom/index.tpl'}
{block name='frontend_index_header'}
{include file='frontend/magazin/header.tpl'}
{/block}
{* Sidebar left *}
{block name='frontend_index_content_left'}
{$smarty.block.parent}
<style>
/* hide on desktop version */
@media (min-width: 768px) {
aside.sidebar-left { display: none; }
}
</style>
{/block}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment