Ultimo

Create the file app/design/frontend/Infortis/ultimo/Ves_Megamenu/layout/default.xml

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
		<css src="Ves_Megamenu::css/ultimo-styles.css" />
</head>
  <body>
    <referenceContainer name="store.menu">
      <block class="Magento\Framework\View\Element\Template" name="catalog.topnav.menu" as="catalog.topnav.menu" template="Ves_Megamenu::mainmenu.phtml">
          <block class="Ves\Megamenu\Block\Menu"  name="catalog.topnav.navigation" as="catalog.topnav.navigation" template="Ves_Megamenu::topmenu.phtml" ttl="3600">
            <arguments>
              <argument name="alias" xsi:type="string">menu-top</argument>
            </arguments> 
          </block>
      </block>
    </referenceContainer>
  </body>
</page>

Then create new file app/design/frontend/Infortis/ultimo/Ves_Megamenu/templates/mainmenu.phtml

add content for it:

Download the file app/design/frontend/Infortis/ultimo/Ves_Megamenu/web/css/ultimo-styles.css at here then update for your site.

Or you can download the patch file for ultimo theme at here .

5KB
Open

Upload and decompress it into webroot folder:

Finally, run the commands:

Last updated

Was this helpful?