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
Solved

reposition hamburger icon to top of screen

Posted on 2016-10-28
5
74 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 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The viewer will learn how to count occurrences of each item in an array.

809 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