• Tried adding custom classes but it does not work, it does add widget-# and other classes, but not the one I enter. Needs some work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @zietbukuel,

    Please review one of the FAQ:

    Why aren’t the classes showing up in my widget?

    You need to make sure you have an HTML element defined for before_widget and after_widget in your active theme’s register_sidebar functions,
    usually located in your theme’s functions.php (/wp-content/themes/yourtheme/functions.php).
    This HTML element must have class and id attributes. This plugin will not work if before_widget and after_widget are blank.
    Example:

    register_sidebar( array(
        'name' => 'Sidebar Name',
        'before_widget' => '',
        'after_widget' => '',
        'before_title' => '',
        'after_title' => ''
    ) );

    Let me know if this helps, I can also take a look, please provide me a link and the theme/widgets you are using.

    Thanks, Jory

    Thread Starter zietbukuel

    (@zietbukuel)

    Yeah, got it, but then it means it isn’t compatible with the Avada theme, which is one of the most popular ones ??

    Thanks for answering.

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @zietbukuel,

    Currently I’m busy with a next release (just became a contributor) that also includes an option to let this plugin fix problems with the sidebar parameters.

    I have a copy of Avada myself and will test it a.s.a.p.

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @zietbukuel,

    I just tested several WP core and Avada widgets in several sidebars locations and they all work fine here.
    Avada version: 5.1.6

    Are you using a custom sidebar?
    Or maybe third party widgets?
    Could you show me your configuration somehow? (screenshot or anything)

    Let me know!

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @zietbukuel,

    Did you manage to find where this plugin isn’t working? I’d like to tackle this if it is a bug ??

    Thanks, Jory

    Thread Starter zietbukuel

    (@zietbukuel)

    I simply tried to add a class to a widget using the latest avada theme. The class is not added at all. Maybe it’s just not compatible. Other than that I don’t remember if it was a custom widget or not, this issue was like 4 months ago ??

    Thanks.

    Plugin Author Jory Hogeveen

    (@keraweb)

    That would be weird since I’ve tried the same thing with Avada and it worked fine. I also checked the Avada codebase for sidebars and these are all fully compatible with this plugin.
    That is the reason I think it was a custom widget or maybe a different plugin or addon for extra widgets.

    I understand this issue was 4 months ago and sorry for the late reply, I only became an official contributor for a month now.
    I am working on removing all possible bugs and very mutch like to find the issue so I can improve this plugin more and with also that help you with your issue.
    Let me know if you are able to reproduce the issue.

    Thanks, Jory

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not adding the custom class’ is closed to new replies.