• Access & Security 95
  • Administration 172
  • Advertisement 92
  • Audio & Video 66
  • Author & Content 99
  • Comments 96
  • Communication 110
  • Communities & Forums 84
  • Development 47
  • E-Commerce 76
  • Email Management 53
  • Events & Calendars 80
  • Language 25
  • Map & Weather 44
  • Migration & Conversion 28
  • Miscellaneous 254
  • Mobile 15
  • Photos 143
  • Plugins 260
  • SEO & Site Speed 118
  • Social 186
  • Theme Enhancement 169

  • Add this plugin to a List

    You need to be logged in to add this plugin to your list.

    Widget CSS Classes

    Add to List

    Widget CSS Classes gives you the ability to add custom classes and ids to your WordPress widgets

    Please note that this plugin doesn’t enable you to enter custom CSS. You’ll need to edit your theme’s style.css or add another
    plugin that allows you to input custom CSS.

    This plugin also adds additional classes to widgets to help you style them easier:

    • widget-first: added to the first widget in a sidebar
    • widget-last: added to the last widget in a sidebar
    • widget-odd: added to odd numbered widgets in a sidebar
    • widget-even: added to even numbered widgets in a sidebar
    • widget-#: added to every widget, such as widget-1, widget-2


    • Adds a text field to a widget for defining a class
    • You can specify multiple classes by putting a space between them
    • Optionally adds checkboxes with predefined classes
    • Optionally adds a text field to add an id to a widget
    • Adds first and last classes to the first and last widget instances in a sidebar
    • Adds even/odd classes to widgets
    • Adds number classes to widgets
    • Fully translatable
    • Multi-site compatible
    • Compatible with Widget Logic, Widget Context, and WP Page Widget plugins
    • Has filters and hooks for customizing output including class names

    Plugin Website


    Adding Custom CSS Classes to WordPress Widgets

    Add .first & .last CSS Class Automatically To WordPress Widgets

    Widget Context compatibility fix provided by Joan Piedra

    Slovak translation by Branco

    Polish translation added, Slovak translation files renamed by Tomasz Wesołowski

    Spanish translation by Maria Ramos at WebHostingHub

    Serbo-Croatian translation by Borisa Djuraskovic at WebHostingHub

    Dutch translation and predefined classes fix by Jory Hogeveen at Keraweb

    Russian translation by Наталия Завьялова

    Swedish translation by Olle Gustafsson

    Fix ids notice by Ricardo Lüders


    This file is part of Widget CSS Classes.

    Widget CSS Classes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    Widget CSS Classes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along with this plugin. If not, see

    Rate This Plugin

    Please Login to Rate this Plugin!




    0 Votes
    Not Rated Yet Stats

    Last Updated52 Days ago
    Published5 years ago

    Report Wrong Category!