Viewing 4 replies - 1 through 4 (of 4 total)
  • Add this code to via a custom css plugin or in your child theme style.css file:

    .sidebar .widget_nav_menu ul li a {
       padding: 0;
       border-bottom: none;
    }
    Thread Starter Thea

    (@dorothy1508)

    Thanks! That worked nicely BUT I’ve lost my hierarchy (child pages were indented)

    Thread Starter Thea

    (@dorothy1508)

    I just had a play around with that. If I remove the “padding: 0” then it removes the borders and the hierarchy isn’t affected. As soon as I try to add the line for the padding, the hierarchy disappears. It doesn’t matter what figure I use for the padding.

    Thread Starter Thea

    (@dorothy1508)

    I’d like to do the same thing for the categories widget, too.

    I tried using the above code but replacing it with .widget_categories. It didn’t work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Make Sidebar Widget menus more compact’ is closed to new replies.