[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

reposition hamburger icon to top of screen

Posted on 2016-10-28
5
Medium Priority
?
85 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
  • 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 54

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 1000 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 1000 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 54

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 1000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

These days software publishers make it possible to move all the possible applications on smartphones, tablets, smartwatches, and more. Although behind every logic and decision is a gross doubt: how do they make it possible? In this blog post, we sha…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
The viewer will learn how to dynamically set the form action using jQuery.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

873 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