Deepress87 Posted November 20, 2014 Share Posted November 20, 2014 Hello, i've had some problems with blocktopmenu not expanding after resizing to mobile width, there are no js errors :/ Can someone please help me ? You can observe this behavior on http://surfstore.cz/test Thank you in advance for any suggestions ! Link to comment Share on other sites More sharing options...
tuk66 Posted November 20, 2014 Share Posted November 20, 2014 V tomto elementu je špatně pojmenovaná třída <div id="block_top_menu" class="sf-container clearfix col-xs-12 col-md-4 col-lg-4"> 1 Link to comment Share on other sites More sharing options...
Deepress87 Posted November 20, 2014 Author Share Posted November 20, 2014 Hm, mate pravdu mockrat dekuji, zajimave je ze v blocktopmenu.js se resi sf-contener a o .sf-container tam neni ani zminka Link to comment Share on other sites More sharing options...
Deepress87 Posted November 20, 2014 Author Share Posted November 20, 2014 Hm, mate pravdu mockrat dekuji, zajimave je ze v blocktopmenu.js se resi sf-contener a o .sf-container tam neni ani zminka NIcmene ani tak se expand nekona :/ na stejnem linku je to updatnute Link to comment Share on other sites More sharing options...
tuk66 Posted November 20, 2014 Share Posted November 20, 2014 Když jsem tu třídu změnit v prohlížeči, tak to zafungovalo. Teď to opravdu nejde, nevím proč. Link to comment Share on other sites More sharing options...
Deepress87 Posted November 20, 2014 Author Share Posted November 20, 2014 Tak uz jsem na to dosel v themes/default-bootstrap/js/modules/blocktopmenu/js/blocktopmenu.js je potreba prepsat sf-contener na sf-container a pak teda jeste jak jste spravne podotkl je potreba zmenit tridu v tpl sablone pro modul. Jeste jednou diky ! For english speakers: Problem was in the tpl for blocktopmenu, where wrong class sf-contener was set -> change it to sf-container -> this will allow the hover efect on collapsed menu button but however the expand function is still not working yet, to enable the expand function you must overwrite occurence of string "sf-contener" in themes/default-bootstrap/js/modules/blocktopmenu/js/blocktopmenu.js to "sf-container" Thanks tuk66 for help with this issue !! Link to comment Share on other sites More sharing options...
Recommended Posts