Solved

page content and responsive menu

Posted on 2013-05-15
1
391 Views
Last Modified: 2013-05-18
I've trying to adapt a menu I've found on this site:

http://osvaldas.info/drop-down-navigation-responsive-and-touch-friendly

if the page width is under 62.5em i don't want the page content to be obscured by the menu (even when expanded) ie. i want the page content to drop down beneath the menu even when its expanded.
if the page width is over 62.5em it doesn't matter if the menu covers the content.

I've created a jsfiddle to demo my progress so far:
http://jsfiddle.net/tonmachine100/T92UQ/

the menus on this site demo how i want the page content to drop down if the screen width is narrow:
http://sheepy.me/

what changes would i need to make to the css to achive this effect?
any help is appreciated.
0
Comment
Question by:tonMachine100
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
Comment Utility
Remove position:absolute from your #nav > ul under your media query for that screen size.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now