Saltar al contenido
sábado, 7 de noviembre de 2026 Edición Estados Unidos · en español

Aside for Widgets

Por Damian R Natalichio · 20 septiembre, 2018 · 7:32 p. m. · 1 min de lectura Compartir: f 𝕏 in
Aside for Widgets
Búsqueda de GoogleAñadir como fuente preferida→

Sidebar Widgets are a main feature of any Magazine Blogging site. To aid with that Dispatch uses a nifty little plugin and a couple of custom CSS classes to make styling your sidebar a breeze.

Widget CSS Classes

Using the namesake plugin you can now add CSS Classes to Widgets. Simple.

Dispatch Widget Classes

CSS Class: zero-padding
Removes the padding from the widget. Perfect for adding those banner ads for maximum space.

CSS Class: no-background
Removes the widget color background that is set in the Customizer.

CSS Class: wpsp-card
Used exclusively with the WP Show Posts Widget and with zero-padding and no-background.
Read more here

Adding your own classes

Want different color background for your widgets. Heres how to. Add you Custom Class Name to your widget. In this example we’ll go for a red color and name our class red-background. Now thats added lets add some CSS.


.widget.red-background {
    background-color: #ff0000;
}

¿Te ha servido este artículo?

Recibe cada semana lo que de verdad importa

Análisis de energía, clima y naturaleza en tu correo. Gratis y sin spam.

Estudios sobre Desarrollo Sustentable, Marketing, Liderazgo de ONGs de Desarrollo, Derechos Humanos, Economía, Literatura, Counseling, y Apoyo a grupos en Situación de Vulnerabilidad. Desde fines de 1999 se desempeña como Director del Portal de ecología social EcoPortal.net www.ecoportal.net