• Resolved Scordisian

    (@scordisian)


    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 5 years, 11 months ago by Scordisian.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @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

    (@scordisian)

    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

    (@keraweb)

    Hello @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.