Enhanced Text Widget
How to add a class? (3 posts)

  1. Mikel Perez
    Posted 3 years ago #


    I'm trying to add a widget that does not display the title, and has a specific class I can use to add CSS to it.

    I've managed to hide the title, but no matter what I do, I can't figure out how to add a class.

    What should I add in the CSS Classes textbox so that the class is added, instead of the default "textwidget" class?


  2. bostondv
    Plugin Author

    Posted 3 years ago #

    You can enter any text into the css class field. Such as my-class-name or class1 class2.

    These classes will be added to the "before_widget" element. The classes are not added to the "textwidget" element.

    Make sure you do not enable the "Do not output before/after_widget/title" option if you want to use the css class field.

  3. Dave
    Posted 3 years ago #

    The classes seems to be a bit broken...


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Enhanced Text Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.