Solved

Need help fixing responsive CSS so mobile navigation menu pushes down content instead of overlapping it

Posted on 2014-03-13
2
1,048 Views
Last Modified: 2014-03-13
I'm currently working on the following responsive html5 homepage template for a Wordpress site:

http://wordpress.silvermanacampora.com/wp-content/themes/silvermanacampora/index-new.html

The problem I'm having is -- when viewing the site on my iPhone -- and when pressing the "Main Menu" button (which toggles the displaying of a very tall navigation menu) --- the navigation menu is overlapping and hiding all of the content that's underneath it -- instead of pushing it down.  

I suspect that there may be a problem with my having specified a height value to the navigation menu:

ul#hp_navigation { float:none; display:block; width:100%; background-color:#00334E !important; text-align:center; margin:0 0 0 0; border-top:1px solid #fff; height:825px; }	

Open in new window


However -- if I don't specify a height value -- then the Main Menu button doesn't move down to underneath the expanded menu like it's supposed to.

What do I need to do / change in my CSS in order to fix this problem?

Thanks,
- Yvan

P.S. I have all of this working correctly elsewhere on the Wordpress site (ie: http://wordpress.silvermanacampora.com/who/ ) -- but I can't seem to figure out what's different about my new homepage that's resulting in this odd behavior.
0
Comment
Question by:egoselfaxis
[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 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39926661
in #hp_header {} remove
height: 300px;

In #hp_header {} remove
height: 248px;

In #nav-toggle {} remove
display: none;

Might need some more tweaking.
0
 

Author Closing Comment

by:egoselfaxis
ID: 39927359
Thank you so much!  That did the trick.

- yg
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Timer on div 5 24
Triple line in an alert message 4 22
Link Anchor Not working 9 47
Text color in a select 11 23
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

756 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