The child ul comes with the class “children”, so you can use this to target your css.
ul.children li { }
Even without that, though, you could just use the hierarchy of lists to target..
ul#catList ul li { }
would target any li within a ul, within the #catList ID.
Related Posts:
- Hooking a function onto the sidebar?
- Changing name of sidebar widget
- dynamic_sidebar not rendering sidebar
- bloginfo(‘stylesheet_directory’) vs. get_stylesheet_directory_uri() and include(‘file.php’) vs. get_template_part()
- Display comment form of specific page in sidebar
- Category specific months list in sidebar.php
- Add featured image to sidebar [closed]
- Is there possibility to Customize the present theme adding sidebars
- Get a sidebar at the top of the page
- Custom sidebar not showing in the dashboard
- How can I make wp_list_categories output li with category-slug as class, for its children?
- Categories and Tags returning 404 on the sidebar when using ugly permalinks
- Showing current subcategory
- Specific and Different Ads for each Post?
- Template part vs Sidebar (differences)
- How to show post(excerpt) from specific category on wp page?
- Backend menu sidebar collapsed by default every time? [duplicate]
- How To Remove/hide some specific categories from two different categories widget from sidebar
- Add Icons to the Product Category Sidebar Widget WooCommerce
- WordPress menu that shows all posts in a certain category like w3schools
- Get sidebars depending on page
- Unregister sidebar from Child-Theme
- How can I hide the sidebar on specific pages?
- How to delete wordpress menu
- Display sidebar if blog
- How can you add a link to a sidebar description?
- unregister_sidebar() in stand-alone theme not working
- CSS Twentyeleven / Sidebar has to be changed IN the CSS Stylesheet. Sidebar on the left side
- Dynamic Sidebar for subcategory of a category
- Same date is repeating on my custom ‘Most Recent Posts’ on sidebar
- How are Dynamic Sidebar Widgets rendered
- Query Posts Exclude Entire Category
- Output dynamic_sidebar into PHP
- Sidebar loop – Thematic Framework
- How to have dynamic sidebar content per post
- Dividing widgets in sidebar?
- How to add an entry to the Page/Post Settings Sidebar? [duplicate]
- How to get the sidebar HTML content?
- Category shows only top level child categories
- Adding Multiple Sidebars
- author list not linking to correct page
- How do I make the category sidebar widget (stock) display the total # of posts including those in subcategories?
- Unable to call specific dynamic_sidebar
- Display smilies in Sidebar, too?
- Call dynamic sidebar by name not ID
- How to send data to sidebar?
- Dynamic sidebar rendered in another place than i would like
- Implementing Sticky Kit on WordPress
- finding sidebar content in wordpress
- How do you control sidebars when there’s no get_sidebar in templates?
- Twenty Thirteen get_sidebar Question
- Show Secondary Sidebar on Category pages (archive)
- Function to add class to element?
- Is it ok to chop index.php and include files?
- Sidebar limiting to 10 posts?
- How to remove the ‘Archives’ title and list and the ‘Meta’ title
- Can the Twenty Eleven theme have a Main Sidbar at all?
- How do i replace the sidebar to use pages instead of blogs?
- Custom sidebars – get_sidebar() problems
- Sidebar Stuck To First Post, Not Top Of Page
- Is there a way to display content from a post meta box in the sidebar?
- Header image is overlapping sidebar?
- “Folding” links in the blogroll
- Excluding current category from sidebar’s post widget, elementor, query-id
- How to assign a sidebar to a WordPress page when none was there before
- Problem adding sidebar to Underscores theme
- unordered list loop not showing up in sidebar
- Print categories and most viewed articles
- How to create template for children category?
- Main content showing up below sidebar
- A way to have some per sidebars settings integrated with the native sidebar/widgets UX?
- Loop doesn’t work
- I’m hit with: undefined constant register_sidebar. Once in debug mode? [closed]
- Show all child categories associated to post ID within loop
- Need list of child category post titles sorted by child category
- Call Multiple Sidebars at once
- echo widget contents
- How to unregister sidebar for template_part?
- Include inside sidebar
- Why isn’t my registered sidebar showing up in the admin?
- Can’t find link to add content to pages
- Automatic menu creation for pages with categories?
- Children categories not shown in dashboard
- My side bar is missing from new pages.
- Change /add items in menu on the inner sidebar
- list first post of Child Category on Category page
- sidebar – widgets versus code – options
- Archives and category of authors
- Template is different with and without comments
- Only display on sidebar if only got value inserted on post
- How to display a sidebar only for blog?
- How to add the sidebar in all category page
- how to list subpages in sidebar without widget
- category & sub category order issues in wordpress
- Images in Woocommerce Product Sidebar [closed]
- Persistent sidebar.php [closed]
- Archive Widget – Show selected Category Post title. Sorted by Year
- Sidebar not appearing
- Woo commerce Single Product Sidebar [closed]
- how do I change the side bar content?