Tagged: enfold 4.1, mobile menu, rtl
-
AuthorPosts
-
July 15, 2017 at 6:38 pm #821760
Hi,
It seems like you changed the code of the mobile menu in Enfold 4.1, and it made the mobile menu in my website go LTR instead of RTL (as I manually set a year ago, with an earlier version of Enfold).
What css code is required right now to make the mobile menu go RTL?July 16, 2017 at 1:28 pm #822007Hey barak97,
DO you remember what and where the settings were?
Best regards,
VictoriaJuly 16, 2017 at 3:49 pm #822051This was the code added to the “Quick CSS”:
#mobile-advanced a, #mobile-advanced .mega_menu_title { padding: 10px 28px; } #mobile-advanced li > a:before, .html_header_mobile_behavior #mobile-advanced span > a:before, #mobile-advanced .mega_menu_title:before { right: 0; margin-right: 10px; } #mobile-advanced li > a:before, .html_header_mobile_behavior #mobile-advanced span > a:before, #mobile-advanced .mega_menu_title:before { content: "\25C4"; top: 10px; } #mobile-advanced ul { margin: 0; padding-right: 20px; } #mobile-advanced ul a, #mobile-advanced .mega_menu_title { padding-right: 28px; }I don’t remember if the menu was already aligned to the right and the code just organized the sub-menus, but this is what I’ve got there.
July 17, 2017 at 3:03 pm #822653Shalom,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
.html_av-overlay-side-classic #top.rtl #wrap_all .av-burger-overlay #av-burger-menu-ul li a { text-align: right; } .html_av-overlay-side #top.rtl #wrap_all .av-burger-overlay li li a { padding-right: 70px; }Best regards,
YigitJuly 17, 2017 at 4:17 pm #822721Works like a charm!
Toda! (Thank you)July 17, 2017 at 4:42 pm #822735Hi,
We’re glad that Yigit was able to help you :D Let us know here in the forums if you need assistance with anything else.
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
Thank you for using Enfold!
Cheers!
Sarah -
AuthorPosts
- The topic ‘Mobile menu RTL in Enfold 4.1’ is closed to new replies.
