Eleven40 Pro Categories widget does not indent subcategories

Community Forums Forums Design Tips and Tricks Eleven40 Pro Categories widget does not indent subcategories

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  RobinR 10 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #58419

    RobinR
    Participant
    Post count: 10

    Hi all,

    I added the default categories widget to my site, and found out child categories are not being indented.

    I tried to change some CSS but to no avail. When I add a margin, it works but also indents the main categories…

    HTML shows <ul class=”children”> for the subcats.

    My CSS knowledge is not extensive enough to find out how to get only the subcategories to indent. Anybody to the rescue?

    Thanks in advance,

    Robin

    #59875

    Sridhar Katakam
    Participant
    Post count: 923

    Add the following at the end of child theme’s style.css (WP dashboard -> Appearance -> Editor):

    .widget_categories ul.children {
        margin-left: 1.5rem;
    }

    #60049

    RobinR
    Participant
    Post count: 10

    Thanks a lot!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.