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:
- Get the children of the parent category
- Get list of all registered sidebars
- What is the difference with get_sidebar and dynamic_sidebar?
- Check if a post is in any child category of a parent category
- how do I get_sidebar into a varaible?
- Best way of making multiple sidebars
- Changing name of sidebar widget
- Getting post-thumbnails from another WP site
- Get custom side bar on custom post archive page
- bloginfo(‘stylesheet_directory’) vs. get_stylesheet_directory_uri() and include(‘file.php’) vs. get_template_part()
- How do I hook a sidebar via add_action?
- How to create a widgetized sidebar for every category dynamically?
- Custom sidebar not showing in the dashboard
- Sidebar random author spotlight
- Sidebar Generator? :)
- Main Sidebar Dispappeared – What could possibly cause this?
- Change which sidebar get_sidebar() gets from functions.php
- Display all posts under child sub category in sidebar on post page?
- Why and how is twentythirteen adding a margin-top to my footer?
- Adding content to sidebars
- Load same sidebar multiple times
- How to show post(excerpt) from specific category on wp page?
- show posts names and links in the sidebar list as categories child
- How To Remove/hide some specific categories from two different categories widget from sidebar
- change sidebar or just widgets for 2 specific post type single posts
- How can you add a link to a sidebar description?
- Show only first children level of current category?
- Custom sidebar on category pages
- Same date is repeating on my custom ‘Most Recent Posts’ on sidebar
- How to add Sidebar and Full width option in post editor
- Corrupt WordPress Design/Appearance [duplicate]
- how to exclude posts on current page from recent posts sidebar widget
- Creating a different side bar for single posts than for main page.
- WP for main site and two blogs – implementation
- How to list custom post types in a secondary sidebar?
- From what hook on is it possible to conditionally add actions?
- Post thumbnails in sidebar & footer?
- Paging in a sidebar mini loop
- Include a sidebar on the static front page of twenty thirteen
- How to get the sidebar HTML content?
- How to show only subcategories in parent category not parent category?
- 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?
- Call dynamic sidebar by name not ID
- Sidebar widget not displaying after simple code update.
- Dynamic sidebar rendered in another place than i would like
- How do you control sidebars when there’s no get_sidebar in templates?
- Find sidebar.php in WP 3.9.2
- Sidebar not appearing on page template with custom posts
- get_posts() in secondary sidebar messes up content in primary sidebar
- 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?
- WordPress – Allow dynamic text to be added into a sidebar upon page creation
- Sidebar limiting to 10 posts?
- How to remove the ‘Archives’ title and list and the ‘Meta’ title
- How do i replace the sidebar to use pages instead of blogs?
- sidebar troubles, taxonomy trouble
- 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
- How to make sidebar float right and site content left
- The WP home page corrupted after switching to new theme
- Problem adding sidebar to Underscores theme
- unordered list loop not showing up in sidebar
- How to create template for children category?
- Change page layout
- Main content showing up below sidebar
- 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
- Automatic menu creation for pages with categories?
- My side bar is missing from new pages.
- Change /add items in menu on the inner sidebar
- sidebar – widgets versus code – options
- 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
- Sidebar not visible after changing to new domain
- Sidebar not displaying on custom-page.php
- category & sub category order issues in wordpress
- Persistent sidebar.php [closed]
- Archive Widget – Show selected Category Post title. Sorted by Year
- Sidebar not appearing
- Woo commerce Single Product Sidebar [closed]
- How can I show second most recent post in sidebar, if most recent post is open in the browser?
- Display different sidebar based on search results from one category
- Making theme translation available crashes sidebar