WordPress.org

Support

Support » Themes and Templates » [Resolved] Removing indent of subcategories

[Resolved] Removing indent of subcategories

  • Please have a look at this image

    I’m using a collapsable menu and as you can see the subcategories have an indent. How do I remove this? I have tried the following code (see below), but it wouldn’t work.

    #menu li {
    padding-left: 0px;
    margin-left: 0px;
    list-style-type: none;

    Unfortunately the topics I found on this forum regarding the same issue/subject wouldn’t help. Can you help me out?

    Best regards,
    salli

Viewing 1 replies (of 1 total)
  • Hmmm, I managed to solve it with the following code:

    #menu li a {
    padding-left: 0px;
    margin-left: -10px;
    }

    But I wonder why I needed to set the left margin at -10? Does anyone know why?

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Removing indent of subcategories’ is closed to new replies.
Skip to toolbar