Skip to content
Advertisement

Dropdown Content Hidden Behind Navigation

I am designing the home page for a project and the dropdown content is both behind the below navigation menu (primary-nav) and hidden offscreen to the right. I had this working with a margin-right tag but somehow I broke the code between then and now.

Also, the basic structure of my page is designed using flexbox so I’m not sure if that helps. I use flexbox to stick the footer to the bottom and not cover content.

Screenshot of home.php with Dropdown Hidden from View

Here is an excerpt of my style.css:

JavaScript

And here is my home.php:

JavaScript

Advertisement

Answer

Edit

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement