I cant put a space in my dropdown menu: if I do so, the second word “jumps” down, overlapping the next element.
Link to Codepen: https://codepen.io/houvenaghel-helena/pen/RwrzPjK
Does anyone know how to resolve this issue?
I cant put a space in my dropdown menu: if I do so, the second word “jumps” down, overlapping the next element.
Link to Codepen: https://codepen.io/houvenaghel-helena/pen/RwrzPjK
Does anyone know how to resolve this issue?
Hi there,
try to give the submenu li-item a width of 100% and it should work:
nav li ul li {
display: block;
width: 100%;
}
Thanks a lot! I have a deadline in two hours and you helped me out in a huge way. Thanks!
No problem. I’m happy that I could help you.
Good luck!