Runamok Posted September 12, 2014 Share Posted September 12, 2014 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 More sharing options...
vekia Posted September 12, 2014 Share Posted September 12, 2014 btw i don't see any top menu on your product page you disagled it? Link to comment Share on other sites More sharing options...
Runamok Posted September 12, 2014 Author Share Posted September 12, 2014 Hey, Yes I did, I can turn it back on now so you can have a look, I turned it off because it looked really bad. Thank you for your quick reply !! Link to comment Share on other sites More sharing options...
vekia Posted September 13, 2014 Share Posted September 13, 2014 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? 1 Link to comment Share on other sites More sharing options...
Runamok Posted September 13, 2014 Author Share Posted September 13, 2014 I am going to look like an idiot now....where do I go to add "span"? and what is the html purifier, should it be on? I really appreciate this!!!! You're awesome Link to comment Share on other sites More sharing options...
vekia Posted September 13, 2014 Share Posted September 13, 2014 i bet that html purifier option removed this <span> go to preferences > general there is an option to switch of purfier - do it, and see if that helped (before check go to adv. preferences > performance and clear caching in shop) Link to comment Share on other sites More sharing options...
Runamok Posted September 13, 2014 Author Share Posted September 13, 2014 Turned off the html purifier and no change. Link to comment Share on other sites More sharing options...
vekia Posted September 13, 2014 Share Posted September 13, 2014 and you also rebuilded cache? Link to comment Share on other sites More sharing options...
Runamok Posted September 13, 2014 Author Share Posted September 13, 2014 Yes, Is there a way that I can just add "span" to the menu element? Link to comment Share on other sites More sharing options...
Runamok Posted September 13, 2014 Author Share Posted September 13, 2014 Hey, Any other ideas how I can fix this? I cleared the shop cache, and turned off the html purifier and it is still the same when I click on a product Any help is really appreciated. Link to comment Share on other sites More sharing options...
PascalVG Posted September 13, 2014 Share Posted September 13, 2014 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 More sharing options...
vekia Posted September 13, 2014 Share Posted September 13, 2014 im affraid that behind this we will find... some js sript that altering menu on homepage its not normal, in block top menu you can't add <span> because menu is createrd automatically based on category names etc. Link to comment Share on other sites More sharing options...
Runamok Posted September 13, 2014 Author Share Posted September 13, 2014 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 More sharing options...
vekia Posted September 14, 2014 Share Posted September 14, 2014 block top menu generates own contents inside .php file it's not a case of tpl, unfortunately. Link to comment Share on other sites More sharing options...
Recommended Posts