WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Mikel Perez
    Member
    Posted 1 year ago #

    Hello

    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?

    http://wordpress.org/extend/plugins/enhanced-text-widget/

  2. bostondv
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

    The classes seems to be a bit broken...

    http://imgur.com/xr3Rjmn

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.