Mega Menu Disappears When using Varnish Cache Magento 2

Posted on Leave a commentPosted in Magento 2, Theme

Once you have varnish cache in your server setup and configured one of the problems you might face if you use varnish cache. Thats your mega menu will disappear from the site mobile as well as desktop version. Simple solution to that is to go to /vendor/magento/module-theme/view/frontend/layout/default.xml. In this file find “<block class=”Magento\Theme\Block\Html\Topmenu” name=”catalog.topnav” template=”Magento_Theme::html/topmenu.phtml” ttl=”3600″ […]

Simple Way To Make A Child Luma Theme In Magento 2

Posted on Leave a commentPosted in Magento 2, Theme

Custom themes if you want to make of luma you can easily do in with the step given below: Just make the folder in app/design/Company/Theme1/ Inside the Theme1 folder create 3 files theme.xml,registration.php and composer.json theme.xml <theme xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Config/etc/theme.xsd”> <title>Theme1</title> <parent>Magento/Luma</parent> <media> <preview_image>media/preview.jpg</preview_image>–> </media> </theme> registration.php <?php /** * Copyright © 2019 Magento. All rights […]