Home / Forums / Basel support forum / Moving the menu from right to left on mobile
Home › Forums › Basel support forum › Moving the menu from right to left on mobile
Moving the menu from right to left on mobile
- This topic has 9 replies, 4 voices, and was last updated 8 years, 1 month ago by
Artem Temos.
-
AuthorPosts
-
August 18, 2017 at 5:53 pm #17786
AllawiTParticipantHi,
Is it possible to move the = button from the right to the left on mobile devices?
if so how can I do this?August 19, 2017 at 9:59 am #17813
Bogdan DonovanKeymasterHi,
Try to add the following code snippet to the ‘Custom CSS for tablet” area in Theme Settings to fix this issue.
.wrapp-header { position: relative; } .right-column .mobile-nav-icon { position: absolute; left: 0; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); margin: 0; } .main-header.header-shop div.site-logo { padding-left: 50px; }Regards
October 20, 2017 at 11:05 am #22125
slotkristianParticipantHi,
i am trying to use the snippet above. The position in the sticky header gets to much to the left, can you help to solve this?
Thanks!
October 20, 2017 at 11:17 am #22126
Artem TemosKeymasterHi,
Try to add the following CSS snippet also
.sticky-header .right-column .mobile-nav-icon { left:10px; }Regards
October 20, 2017 at 11:21 am #22127
slotkristianParticipantAlso, centered logo would be nice 🙂
October 20, 2017 at 12:02 pm #22136
Bogdan DonovanKeymasterTry to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.
@media (max-width: 991px) { header.main-header.header-logo-center div.site-logo { position: absolute; left:50%; top: 0; transform: translateX(-50%); -webkit-transform: translateX(-50%); padding-left: 15px !important; padding-right: 15px !important; text-align: center; height: 70px; } } @media (max-width: 767px) { header.main-header.header-logo-center .basel-logo-wrap { position: absolute; left: 0; top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); } }Regards
October 20, 2017 at 12:36 pm #22148
slotkristianParticipantThis worked awsome! Thank you guys!
Just a minor detail, could logo be centered in sticky header aswell? 🙂
October 20, 2017 at 2:03 pm #22163
Bogdan DonovanKeymasterPlease, replace previous code snippet with the code below.
@media (max-width: 991px) { .website-wrapper div.site-logo { position: absolute; left:50%; top: 50%; transform: translateX(-50%) translateY(-50%); -webkit-transform: translateX(-50%) translateY(-50%); padding-left: 15px !important; padding-right: 15px !important; text-align: center !important; height: 70px; } .sticky-header .container, .sticky-header div.site-logo{ height: 60px; } .sticky-header .right-column .mobile-nav-icon { left: 15px; } } @media (max-width: 767px) { .website-wrapper .basel-logo-wrap { position: absolute; left: 50%; top: 50%; transform: translateY(-50%) translateX(-50%); -webkit-transform: translateY(-50%) translate3d(-50%); width: 60%; } }Regards
October 20, 2017 at 3:17 pm #22169
slotkristianParticipantWorks perfectly! First class support 🙂
Thanks.
October 20, 2017 at 6:25 pm #22182
Artem TemosKeymasterYou are welcome!
-
AuthorPosts
The topic ‘Moving the menu from right to left on mobile’ is closed to new replies.
- You must be logged in to create new topics. Login / Register