The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Menu items as link not just the text
Hello super Foxes!,
I have a menu that I want to make all of them the link not just the text on it, so I have this code:
**HERE IS THE CODEPEN: http://cdpn.io/bviFJ**
So what about something like this:
This will be a solution?
Try…
#lista-menu-principal li a { display:block }
… and take the padding from the li and add it to the a instead.
Thanks Adahei!. it works.