Forums

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
    Posts
  • #41856
    jshjohnson
    Member

    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.

    http://www.leedsrag.org.uk/ [Password is ‘csstricks’]

    http://www.jshjohnson.com/images/LRscreen.png (what is should and used to look like)

    Any ideas?

    #120338
    Senff
    Participant

    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.

    #120344
    jeffc
    Member

    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 ul.menu li {float: left;} work?

    #120349
    Senff
    Participant

    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.