Categories block in sidebar has gone squiffy

[ad_1]

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 5 hours, 55 minutes ago by Shahin.

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 site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer