Title: UL class
Last modified: May 2, 2020

---

# UL class

 *  Resolved [Scordisian](https://wordpress.org/support/users/scordisian/)
 * (@scordisian)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ul-class-2/)
 * Hi,
 * Great plugin. Now I was wondering if this plugin allows to add a class to the`
   <ul>` tags that are standard in WP?
    -  This topic was modified 6 years, 1 month ago by [Scordisian](https://wordpress.org/support/users/scordisian/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ul-class-2/#post-12777534)
 * Hi [@scordisian](https://wordpress.org/support/users/scordisian/)
 * Yep, keep in mind that they should use the correct format.
    See “Why aren’t the
   classes showing up in my widget?” in FAQ. However, this plugin has a optional
   feature to fix incorrect formats. See the plugin settings.
 * Cheers, Jory
 *  Thread Starter [Scordisian](https://wordpress.org/support/users/scordisian/)
 * (@scordisian)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ul-class-2/#post-12778512)
 * Hi Jory,
 * Thnx for the reply. The plugin works but I think I failed to explain myself correctly.
   
   E.g. the Recent Posts widget display’s a list. This starts with the `<ul>` and
   then a `<li>`, I want to add a class to that making it: `<ul class="list-group"
   >` & `<li class="list-group-item">`
 * I assume I need to change something in the functions file?
 * Regards
 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ul-class-2/#post-12778553)
 * Hello [@scordisian](https://wordpress.org/support/users/scordisian/)
    Ah check.
   No this plugin will only work for the widget container, not the inner HTML. You’ll
   have to check that particular widget code and see if there are any filters available
   or you’ll need to modify your CSS to just select the `li` element instead of 
   a class. Cheers, Jory

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘UL class’ is closed to new replies.

 * ![](https://ps.w.org/widget-css-classes/assets/icon-256x256.jpg?rev=1130657)
 * [Widget CSS Classes](https://wordpress.org/plugins/widget-css-classes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-css-classes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-css-classes/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-css-classes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-css-classes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-css-classes/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/ul-class-2/#post-12778553)
 * Status: resolved