Jump to content

Top Horizontal Menu not the same on all pages


Recommended Posts

I recently updated to 1.6 and I noticed that after I did my top horizontal menu block is not the same on my product page. It looks great on the main page and on the category page but when you click on a product for the any item I have the top horizontal menu is stretched out and wraps into two columns. The text in the menu is also on 2 lines where as on my main pages it is on one.

 

If anyone has any ideas on how to fix this I would really appreciate it!!

 

Thanks in advance!

 

web site is: www.runamokamusements.com

 

Link to comment
Share on other sites

i've noticed something strange:

on homepage your menu element has got this format:

<a href="http://runamokamusements.com/en/6-Bouncey-Houses" title="Bounce Houses"><span>Bounce</span> Houses</a>

product page hasn't got <span>

<li><a href="http://runamokamusements.com/en/6-Bouncey-Houses" title="Bounce Houses">Bounce Houses</a></li>

and this is a source of your problem!

 

 

 

you run store with "html purifier" option turned on?

  • Like 1
Link to comment
Share on other sites

Hi Runamok,

Is the menu a custom menu module?

 

If so, maybe show us the tpl file of this module (probably found in

    /themes/<your theme folder>/modules/<the menu module name>/<the menu module name>.tpl , 

or otherwise in

    /modules/<the menu module name>/<the menu module name>.tpl

 

Maybe we can see why it doesn't add the <span>...</span> on the product pages

 

pascal.

Link to comment
Share on other sites

Hey Guys,

 Here is the blocktopmenu.tpl

 

{if $MENU != ''}
<div id="menu-wrap" class="clearfix desktop">
 <div id="menu-trigger">{l s='Categories' mod='blocktopmenu'}<i class="menu-icon icon-plus-sign-alt"></i></div>
 <ul id="menu-custom">
   {$MENU}
   {if $MENU_SEARCH}
    <li class="search">
     <form id="searchbox" action="{$link->getPageLink('search')}" method="get">
        <input type="hidden" name="controller" value="search" />
      <input type="hidden" value="position" name="orderby"/>
      <input type="hidden" value="desc" name="orderway"/>
      <input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'htmlall':'UTF-8'}{/if}" placeholder="Search..." />
     </form>
    </li>
   {/if}
  </ul>
 </div>
{/if}

 

 

I did a test and changed "menu-wrap" to "menu-span" and it made all of the pages look the same as my product pages. The opposite as to what I wanted to do.

 

Not sure if this help with the diagnosis....but thank you both for your advice.

Link to comment
Share on other sites

×
×
  • Create New...