Removing toggle drop down menu from mobile devices
-
Hi,
I am using a responsive theme (OneColumn). I hammered out all of the issues (thanks to great help here at times), except this one remaining hurdle. I would like the navbar to appear as it does on the desktop version. It has a menu and a drop down list. Please help me get rid of this. I have tried a few things I found in the forums to no avail.
I tried adding this to the stylesheet:
#nav-header .nav-toggle {display:none;}
I tried variations, but removed it altogether when it did nothing.
Here is the code:
/* MOBILE */ @media screen and (max-width:767px) { /* BODY AND CONTAINER */ body {line-height:1.2em;} body.custom-background {background-image:none !important;} /* MAIN CONTENT AREA */ #main-content {width:100%; float:left;} #content {width:96%; float:left; padding:10px 2%;} /* HEADER */ #header {width:96%; float:left; padding:10px 2%;} #header .logo {padding:5px 0;} #header .logo h1 {font-size:2em;} #header .logo h2 {padding:0; font-size:1.3em;} #header .header-img {padding:10px 0 0;} #header-widgets {width:96%; padding:0 2%;} .home-left, .home-right {width:100%; float:left;} /* MENU */ .nav-head ul {display:none;} .nav-head {padding:0;} .nav-head select {display:block; width:100%; height:35px; margin:0 auto 0; font-size:1em; line-height:1.2em; color:#333; background:#f8f8f8; border:0;} /* CONTENT */ .postmetadata {margin:10px 0;} /* HEADINGS */ .post-title, .page-title, .page-title-post, .widgettitle, .comments-title, .comment-reply-title, .no-comments {font-size:1.3em;} /* IMAGES */ .wp-post-image, .single-image {width:50%; margin:0.3em 0.5em 0.3em 0;} /* SIDEBAR */ #sidebar {width:96%; float:left; padding:10px 2%;} /* FOOTER */ #footer {width:96%; padding:10px 2%;} .footer-left, .footer-right {width:100%; float:left;} }This was an avenue I couldn’t try because of the theme differing, but maybe someone could point me in the right direction using this knowledge:
https://ww.wp.xz.cn/support/topic/how-to-remove-mobile-nav-menu-toggle?replies=5
Thanks so much.
The topic ‘Removing toggle drop down menu from mobile devices’ is closed to new replies.