menu toggle link is misaligned, not entirely clickable
-
Hi there, I’ve been tackling this for a long time now and I think I just give up. I have tinkered with your CSS and nothing seems to work.
The toggle text area is getting ‘cut off’ by the header area. If I move it up, it becomes unclickable. If I add :before text, that seems to affect it too. If I adjust it’s float and position, it gets misaligned with the call now.
See screenshot: https://cloudup.com/cwNibX5EyUv – it’s just not aligning properly with these two elements. But either way, nav menu isn’t fully accessible.
Either it will be cut off and not show all of it, or it will not be clickable.
I think it’s because you’re using a lot of absolute or relative positioning on this, instead of just letting it ‘float’ where it wants to go, with regular padding or alignment. It has a float left on it, but it shows on the right, with “right” positioning. It doesn’t make sense to me. But maybe you had a reason for doing it this way.
Will you fix this soon?
Suggested changes to CSS that I could make so far (but I’ve spent too long trying other things that didn’t work):
.amp-wp-header .nav_container { right:inherit; position:relative; }
and
.amp-wp-header .ampforwp-logo-area { padding: 1em 16px; }
Right now you have:
padding: .875em 16px;
–> this is too short in heightAlso, users usually need to know the ‘hamburger icon’ is a menu before they realize that’s what it is. So I suggest:
.toggle-text:before { content: "MENU"; position: absolute; right: 42px;
Anyway, even if you don’t use the suggestions above, I just want it to be usable – visible and clickable. Does anyone have a fix for this?
Thanks.
- The topic ‘menu toggle link is misaligned, not entirely clickable’ is closed to new replies.