Author Topic: Remove dropdown links from Home button  (Read 3736 times)

Offline mike3314

  • Newbie
  • *
  • Posts: 10
  • Karma: +2/-0
    • View Profile
Remove dropdown links from Home button
« on: October 05, 2017, 10:17:52 AM »
Hi,
I realise that this has been covered before but I can't get rid of the dropdown from the home button, I've removed the following code from the;
/public_html/storefront/view/default/template/blocks/ category_top.tpl
<ul id="main_menu" class="nav">
                   <?php
                   $storefront_menu = (array)$this->session->data['storefront_menu'];
                   foreach ($storefront_menu as $i => $menu_item) {
                      if ($menu_item['id'] == 'home') {
                         unset($storefront_menu[$i]);
                         break;
                      }
                   }?>
                   <!-- Top Nav Start -->
                   <?php echo  buildStoreFrontMenuTree($storefront_menu); ?>
                </ul>

but I'm still getting the drop down but with no text inside it - please see attached screenshot.

 

Powered by SMFPacks Social Login Mod