The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WordPress menu makes list vertical

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #41856

    So one of my WordPress websites got hacked so I had to restore it from a backup. In doing so I had to create a new menu however the menu is now vertical not horizontal and seems to ignore display: inline-block or display:inline. [Password is ‘csstricks’] (what is should and used to look like)

    Any ideas?


    If you give the LI’s display:block; they should line up horizontally.

    Also, it looks like the div with id “access” is wrapped in a UL — which shouldn’t be. Not sure if that had to do with the hack.


    The menu UL is inside of 2 divs, and all of them are inside of another UL (which has no List items). If @Senff’s idea doesn’t work, that might be the hack. Would something like li {float: left;} work?


    Indeed, but the wrapping UL (the one wrapping the two divs) should just not be there in the first place, so regardless, that should be removed.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.