I have a small problem with my website (www.mtrprotec.com) where the drop down menu doesn’t go over the slideshow. (You will have to decrease the width of the browser to go into mobile mode).
I have tried getting rid of the .rectangle, but it somehow needs that for the drop down to display, and when it was assigned a smaller height than the drop down box it didn’t work.
I did that and changed a few things, and its partially working now (with a lot of errors, such as text being cut off and not being the right height), but the idea is there.
Seems to work fine, the .mobile-headers {height:100%} wasn’t needed either. I think I will change the style a bit and make the drop down the full width, as this pushes the slider down.
Thank you for your time
Have you reduced the width of the browser? I am using media queries, so the drop down is only there on mobiles/tablets.
O, right. Hm, it’s pretty broken in that view right now. Normally, the dropdown needs somthing like absolute positioning, with z-indexes thrown in, to avoid pushing things down and being hidden. But there’s preliminarly work to do first.
Sorry, I completely forgot to change the online version and I was viewing it locally
Now the drop down menus seem to be working fine, but in the desktop view the logo/headers break down and go onto multiple lines before the tablet zone is reached. I tried fixing it by using percentages, so they would decrease the space between the logo/heading but it doesn’t work.
Before going any further, you might want to validate your HTML and sort out the errors - especially the missing doctype. It always pays to eliminate errors in your code first, before trying to sort out other problems. Sometimes fixing the code is all it takes.