Skip to content

Instantly share code, notes, and snippets.

@antoniocosentino
Last active February 2, 2018 09:38
Show Gist options
  • Save antoniocosentino/6ac5f75ac6c2a81b34294f83ad920338 to your computer and use it in GitHub Desktop.
Save antoniocosentino/6ac5f75ac6c2a81b34294f83ad920338 to your computer and use it in GitHub Desktop.
Plugin customization to hide the left sidebar element. This will replace this file: /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}
{block name="frontend_index_content_left"}
<style>
#gLeft { display:none; }
@media (min-width: 1024px) {
.col-md-9 { width: 100%; }
}
</style>
{/block}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment