Solved

reposition hamburger icon to top of screen

Posted on 2016-10-28
5
76 Views
Last Modified: 2016-11-02
On my wordpress site, I would like to MOVE the hamburger icon on mobile devices to be at the top of the screen ABOVE the logos.

screen shot of my goal
http://screencast.com/t/HiqYrX3jB

Beta site
http://36a.ed7.myftpupload.com
0
Comment
Question by:nsitedesigns
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Author Comment

by:nsitedesigns
ID: 41864503
I tried putting the following code in but it didn't help
position: absolute;
top: 0;

Open in new window

0
 
LVL 52

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 250 total points
ID: 41864545
I think you want to move  your div.responsive-menu-icon physically to where you want it in your code
0
 

Author Comment

by:nsitedesigns
ID: 41864566
I don't think i can do that with wordpress.
0
 
LVL 10

Accepted Solution

by:
Prasadh Baapaat earned 250 total points
ID: 41865777
What Scott says is correct...

Another method will be to copy the NAV code & paste it on top of header code (duplicate) & show it ONLY on resolutions below 768 pixels and hide the bottom menu using bootstrap hide / show classes.

BUT if you don't know how to do above... here is a solution which MIGHT be useful... I am a bit worried about the menu width though - it may not be perfect.

Add the below CSS and check:


@media (max-width: 767px) {
.nav-primary {
    position: absolute;
    top: 20px;
    width: 84%
}
.header-image .site-header {
    margin-top: 45px;
}
}

Open in new window

0
 
LVL 52

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 250 total points
ID: 41867402
You will find the theme files in /wp-content/{{your_theme_name}}  

If you have a child theme, best to make the changes there.  That way any updates will not be overwritten.

In your child theme, copy the theme page to the child theme location and from there you can move your div's.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here, we have shared an easy step by step tutorial on how to download instagram images and videos on PC, Android Mobile and iOS mobile.
Ransomware is a growing menace to anyone using a computer or mobile device. Here are answers to some common questions about this vicious new form of malware.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question