• Resolved Tamie

    (@tamierp)


    Hello.

    I added the category widget to the sidebar for posts and set it with hierarchy, but the hierarchy is not showing on the posts. I tried changing the padding and width of the sidebar, but that did not work. Also, I’d rather have the subcategories hidden until someone clicks or hovers over the top category. How do I fix these things?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey Tamie, thank you for contacting us.

    With each support inquiry, could you please share a link to the site that you’re working on? That way we can see exactly what you’re referring to in order to best assist you.

    If you are unable to share a link, screenshots are also helpful.

    Thanks in advance for the additional information!

    Best,
    Kevin

    Thread Starter Tamie

    (@tamierp)

    Yes. I apologize.

    https://www.thaumaturgicra.org/

    • This reply was modified 2 years, 6 months ago by Tamie.

    Hi!

    I can see that the child categories are not indented. To fix this, you can add this in Customizer > Additional CSS:

    .widget_categories .children {
        padding-left: 20px;
    }

    You’ve mentioned that “I’d rather have the subcategories hidden until someone clicks or hovers over the top category.”. Sadly, this widget is from WordPress itself, and currently, they do not have an option to show the categories this way.

    To have a dropdown, you can enable Display as dropdown option – https://share.getcloudapp.com/kpu81PJP.

    I hope this helps and let us know if we can assist you further.

    Best Regards,
    Karla

    Thread Starter Tamie

    (@tamierp)

    Thank you very much for your help!

    Thread Starter Tamie

    (@tamierp)

    I was able to fix this myself, but there is too much space between each menu item in the sidebar. How can I decrease that space?

    Hi, Tamie!

    There are default top and bottom spacing for navigation menus’ links. Add this to Customizer > Additional to remove the padding and decrease their spaces in between:

    .primary-sidebar .collapse-sub-navigation ul.menu li a {
        padding-top: 0em;
        padding-bottom: 0em;
    }

    Let us know if we can assist you further.

    Best Regards,
    Karla

    Thread Starter Tamie

    (@tamierp)

    That worked perfectly. Thank you very much for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sidebar Category Hierarchy Missing’ is closed to new replies.