• Resolved Justin Tuijl

    (@static1635)


    Hi, I have moved the Categories block to my sidebar and it won’t show in hierarchy, it was fine when placed on a page. It has also developed a load of annoying 1px white lines!

    • This topic was modified 10 months, 1 week ago by Justin Tuijl.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @static1635,

    To add padding on subcategories, you can put the CSS below in Customizing > Custom CSS/JS > CSS Code:

    /* adding a padding for the subcategories items */
    .sidebar-box ul .children {
        padding-left: 15px !important;
    }
    
    /* removing the latest border bottom in the last list item in the subcategories */
    .sidebar-box ul .children li:last-child {
        border-bottom: 0;
    }

    Please read this link for more information about the CSS/JS code on the customizer: https://docs.oceanwp.org/article/354-add-custom-css-and-js-to-your-website.

    Result: https://postimg.cc/tsMG0FhK.

    Note: If you have any cache plugin or server cache(CDN / Browser Cache and Cookies and …), you need to clear its cache contents or disable them to see your changes. Also, remember to click on the regenerate all assets file and data in Elementor > Tools(if you have Elementor).

    I hope that helps.

    Best Regards

    • This reply was modified 10 months, 1 week ago by Shahin.
    Thread Starter Justin Tuijl

    (@static1635)

    Thank you. Yes, the hierarchy is super now. I did want to remove all the lines, but I can figure out how to do that. Thanks.

    • This reply was modified 10 months, 1 week ago by Justin Tuijl.

    You’re welcome.
    I’m glad we could help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Categories block in sidebar has gone squiffy’ is closed to new replies.