Forums

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

Home Forums CSS Footer Menu – No Dropdowns, All Inline

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45300
    robertallen
    Participant

    Hi all,

    Is it possible to have a footer menu display all inline, with no drop downs?

    I have a WordPress header menu with dropdowns, but on the footer, I’d like to be able to display ALL the links in a straight line.

    This is what I’m trying to accomplish (at the bottom of this site)
    http://www.singleinstilettos.com

    I’m doing okay, but so far some of the padding is off on some of the links.

    Here’s my code…
    .footer_menu {
    margin: auto;
    width: 90%;
    }
    .footer_menu li, .footer_menu ul {
    display: inline-block;
    list-style: none outside none;
    margin-bottom: 5px;
    }
    .footer_menu li {
    padding-right: 10px;
    }
    .footer_menu li a {
    color: #373737;
    text-decoration: none;
    }
    .footer_menu li a:hover {
    text-decoration: underline;
    }
    .footer_menu ul li ul li {
    padding-left: 10px;
    }

    #137681
    robertallen
    Participant

    (How do I make code in a black box like you guys have? For some reason I’ve never been able to accomplish this correctly.)

    Edit: It works if I put it in a reply, without anything above it.

    #137682
    robertallen
    Participant

    .footer_menu {
    margin: auto;
    width: 90%;
    }
    .footer_menu li, .footer_menu ul {
    display: inline-block;
    list-style: none outside none;
    margin-bottom: 5px;
    }
    .footer_menu li {
    padding-right: 10px;
    }
    .footer_menu li a {
    color: #373737;
    text-decoration: none;
    }
    .footer_menu li a:hover {
    text-decoration: underline;
    }
    .footer_menu ul li ul li {
    padding-left: 10px;
    }

    #137803
    robertallen
    Participant

    Would I need to do a PHP hack that would just change all my dropdown submenus to all regular parent menus instead, or is this possible with CSS to ignore the list heirarchy?

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