What's New
- AuthorPosts
Hi,
Yes, go to BO > Theme editor > Header, set the mobile logo to center. then change the “Megamenu module” to the “Mobile bar left”, see attached screenshot.
Best regards.I have the same as You sended me but when i click top left menu it only show me ites i added in megamenu. I want it to show me categories not megamenu items.
I want to replace bottom left button to be in left top. So when someone click left top it will show categories not megamenu items.
Hi,
I can’t access your site, there is a 403 error, see attached screenshot.
Best regards.Send me Your ip or country name i will unblock. And check top left button i have manage to link categories in there but they are not functional because + is not working dont expand and dont show subcategories.
I have discovered the button in bottom left that open categories list on mobile devices is javascripted.
The button have class .rightbar_wrap and after clicking it it adds classes .sidebar_opened and .open_column to html. Is there a posibilyty to make some javascript add it to backoffice to make same behaviours to the custom button i put in top left corner on mobile?return a(t, [{ key: "init", value: function() { var t = this; (0, r.default)(document).on("click", ".rightbar_tri,.mobile_bar_tri", function(e) { e.preventDefault(); var i = (0, r.default)(".st-container"); if ((0, r.default)(this).hasClass("active")) return t.resetSlidebar(!1), !1; var n = (0, r.default)(this).data("direction"); return i.hasClass(n) ? (0, r.default)(".st-container").addClass("bar_opened") : (0, r.default)(".st-container").removeClass("open_bar_right open_bar_left open_column").addClass((0, r.default)(this).data("direction")), t.resetSlidebar(!0), (0, r.default)(this).addClass("active"), (0, r.default)("#" + (0, r.default)(this).data("name")).addClass("sidebar_opened"), "side_qrcode" == (0, r.default)(this).data("name") && t.load_qrcode(), (0, r.default)(".st_sticky_buy_container").length && (0, r.default)(".st_sticky_buy_container").removeClass("da_kai_attr"), !1 }), (0, r.default)("#st-pusher-after,.close_right_side,.side_continue,#st-content-inner-after").click(function() { return t.resetSlidebar(!1), !1 }) } }, { key: "resetSlidebar", value: function(t) { t || (0, r.default)(".st-container").removeClass("open_bar_right open_bar_left open_column bar_opened"), (0, r.default)(".rightbar_tri,.mobile_bar_tri").removeClass("active"), (0, r.default)(".sidebar_opened").removeClass("sidebar_opened"), (0, r.default)(".add_to_wishlit.active").removeClass("active") } }, {
1. Remove the “categories list” module form the “displayMobileNav” hook.
2. Add this code to the Custom css code field.
#switch_left_column_wrap{display:none;}
3. Replace this code in the \modules\stsidebar\views\templates\hook\mobilebar.tpl file
data-name="side_stmobilemenu" data-direction="open_bar_{if $sidebar_item.direction==2}left{else}right{/if}"
With
data-name="left_column" data-direction="open_column"
Clear the smarty cache to check.
- AuthorPosts
You must be logged in to reply to this topic.