Reply To: How To Display A Custom Menu Horizontally

Home Forums Support How To Display A Custom Menu Horizontally Reply To: How To Display A Custom Menu Horizontally

#204710
Tom
Lead Developer
Lead Developer

Hi there,

This is more a question for https://wordpress.org/support/ or http://wordpress.stackexchange.com/ as it doesn’t directly relate to GP.

When you register your widget, you have <div> in the “before_widget” parameter.

Change that to something like <div class="my-awesome-widget">.

Then you can do this:

.my-awesome-widget li {
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #eeeeee
}

Hope this helps 🙂