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
- Hooking a function onto the sidebar?
- How to make child categories recognize parent’s template displays
- Changing name of sidebar widget
- Getting post-thumbnails from another WP site
- dynamic_sidebar not rendering sidebar
- 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?
- Display comment form of specific page in sidebar
- Category specific months list in sidebar.php
- Add featured image to sidebar [closed]
- Display all posts with same title
- Show children of top level category only
- 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
- Sidebar random author spotlight
- 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
- Sidebar Generator? :)
- Showing current subcategory
- Main Sidebar Dispappeared – What could possibly cause this?
- WordPress Child Category Display All Posts
- Change which sidebar get_sidebar() gets from functions.php
- Display all posts under child sub category in sidebar on post page?
- How to exclude parent category but show child categories?
- Specific and Different Ads for each Post?
- Why and how is twentythirteen adding a margin-top to my footer?
- Adding content to sidebars
- Twenty Ten child theme has post on an inner page. Cant get that page to use my desired template
- Template part vs Sidebar (differences)
- Change sidebar headers from H1?
- Load same sidebar multiple times
- How to show post(excerpt) from specific category on wp page?
- Backend menu sidebar collapsed by default every time? [duplicate]
- 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
- 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
- change sidebar or just widgets for 2 specific post type single posts
- 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?
- Show only first children level of current category?
- unregister_sidebar() in stand-alone theme not working
- CSS Twentyeleven / Sidebar has to be changed IN the CSS Stylesheet. Sidebar on the left side
- Custom sidebar on category pages
- Display Categories or Subcategories with name & description in category.php
- Where do posts get the sidebar from?
- Why does the TwentyTen Theme sidebar have a class called ‘xoxo’?
- Dynamic Sidebar for subcategory of a category
- 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 are Dynamic Sidebar Widgets rendered
- how to exclude posts on current page from recent posts sidebar widget
- How to add a class when there’s no sidebar?
- Query Posts Exclude Entire Category
- Output dynamic_sidebar into PHP
- Display category-specific comments in sidebar
- Creating a different side bar for single posts than for main page.
- Sidebar loop – Thematic Framework
- WP for main site and two blogs – implementation
- How to have dynamic sidebar content per post
- How to list custom post types in a secondary sidebar?
- From what hook on is it possible to conditionally add actions?
- Dividing widgets in sidebar?
- Post thumbnails in sidebar & footer?
- Paging in a sidebar mini loop
- How to add an entry to the Page/Post Settings Sidebar? [duplicate]
- Categories not shown on sidebar
- loop mix my child-category and parent-category
- How to retrieve posts from parent category, splitting them per children when displayed?
- ReadWriteWeb-like sidebar scrolling
- Persistent sidebar.php [closed]
- Archive Widget – Show selected Category Post title. Sorted by Year
- How do I move the sidebar more to the right in TwentySeventeen?
- Remove Sidebar for Pages on Canvas Wootheme [closed]
- Sidebar not appearing
- How can I add custom sidebar to my theme? [closed]
- Woo commerce Single Product Sidebar [closed]
- how do I change the side bar content?
- How to hide sub categories in sidebar [closed]
- sidebar choice not saved for pages (but saved ok for posts/custom posts) [closed]
- How can I show second most recent post in sidebar, if most recent post is open in the browser?
- Disappearing Widget Text area
- Display different sidebar based on search results from one category
- Making theme translation available crashes sidebar
- Query for posts belonging to multiple categories
- adding a (left or right) sidebar with underscores