Tagged: x
-
AuthorPosts
-
February 2, 2017 at 4:19 pm #1355818
luisramosbcnParticipantHi,
I have two questions regarding mobile view (and in this page for example: http://institutodeemprendedores.org/tutoriales/):
– On mobile: ubermenu is at the bottom. I haven’t found a setting to place it above content (below header). How can I set that?
– On mobile: the logo I use is too wide and pushes the main menu to a 2nd line. How can we adjust the menu only on mobile to be a little smaller so the menu and the logo live together in perfect harmony in the same line?
Thanks in advance.
LuisFebruary 2, 2017 at 10:59 pm #1356285
RupokMemberHi Luis,
Thanks for writing in!
#1. Looks like you have placed the menu on left. What you are trying to achieve?
#2. You can add this under Custom > CSS in the Customizer.
@media only screen and (max-width: 979px) { .x-brand.img { width: 225px; } }Hope this helps.
February 3, 2017 at 12:09 pm #1357022
luisramosbcnParticipantHi Rupok,
the menu is on the left, on the sidebar on the left. But that’s on desktop.
My issue is on mobile.
On mobile (I’ve tested in my android phone), the sidebar menu appears at the end of the page.
I’d like that sidebar menu to appear, ONLY on mobile, after the main page header, and before the content itself (and in all the pages that menu is set, of course).
Is that achievable?
Thx
February 3, 2017 at 8:03 pm #1357526
RadModeratorHi there,
It’s hard to identify it on just the menu since there is no selector. Let’s do this instead
1. Please edit your pages that you wish to implement this and add mobile_sidebar to Body Class(es) input under Page/Post setting’s section. Do this for alll the pages that have that menu.
2. Then add this CSS to Admin > Appearance > Customizer > Custom > CSS
.mobile_sidebar .x-sidebar { display: none; } .mobile_sidebar .x-main { float: none; width: 100%; margin: 0; } @media ( max-width: 979px ) { .mobile_sidebar .x-sidebar { display: block; } }And add this code to Admin > Appearance > Customizer > Custom > Javascript
jQuery('.mobile_sidebar .x-sidebar').insertBefore('.x-main');Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1355818 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
