- This topic has 5 replies, 2 voices, and was last updated 8 years, 2 months ago by husker.
-
AuthorPosts
-
February 21, 2016 at 8:58 pm #85912huskerParticipant
I use a Child Theme and would like to move the mobile menu location. I have figured out to add the word menu.
I want to get have the 3 bars and Menu text show up on the right and be enclosed with a box I can assign a color and have the word Menu on the left side of the 3 bars and not below.
February 22, 2016 at 12:10 pm #85967MaheshKeymasterHi @husker,
Go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS:
#mobile-header-left-menu { float: right; } .mobile-menu-text { display: inline-block; vertical-align: top; }
Regards,
MaheshFebruary 23, 2016 at 5:42 am #86052huskerParticipantOk, i am close. I am seeing the mobile menu on my desktop and on iPhone as expected.
Here is the code I am using in CSS. What needs to be corrected to only see the mobile menu on iphone devices?
.mobile-menu,
.mobile-menu-anchor,
.mobile-menu-text {
display: Menu; display: inline-block;
vertical-align: top;}
#mobile-header-left-menu {
float: right;
}#mobile-header-right-menu {
float: right;
}.mobile-menu-anchor a.genericon-menu,
.mobile-menu-anchor a.genericon-menu:hover {
color: #ffffff;
text-decoration: none;
background-color: #cc0c2f;
font-weight: bold;}
Brian
February 23, 2016 at 6:39 am #86056huskerParticipantOk I changed the code in CSS as follows. I moved .mobile-menu-text code to be below the #mobile-header-left-menu and that seemed to work. is that correct?
.mobile-menu,
.mobile-menu-anchor,#mobile-header-left-menu {
float: right;
}.mobile-menu-text {
display: Menu; display: inline-block;
vertical-align: top;}
#mobile-header-right-menu {
float: right;
}.mobile-menu-anchor a.genericon-menu,
.mobile-menu-anchor a.genericon-menu:hover {
color: #ffffff;
text-decoration: none;
background-color: #cc0c2f;
font-weight: bold;}
February 23, 2016 at 10:26 am #86062MaheshKeymasterFebruary 23, 2016 at 10:30 am #86063huskerParticipantJust msking sure i did it right. Mark it completed. You guys are great. Thanks again.
-
AuthorPosts
- The topic ‘Mobile Menu Location and Customization’ is closed to new replies.