Aside for Widgets

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;
}

Love the blog? We have a bunch of ways for you to customize how you follow us!

Join 20,000+ physicians on a journey to financial freedom.

Join The Prudent Plastic Surgeon Facebook group to interact with like-minded professionals seeking financial well-being

The Prudent Plastic Surgeon

Jordan Frey MD, a plastic surgeon in Buffalo, NY, is one of the fastest-growing physician finance bloggers in the world. See how he went from financially clueless to increasing his net worth by $1M in 1 year  and how you can do the same! Feel free to send Jordan a message at [email protected].

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

March 4, 2026

A Tax Disaster… From a “Safe” Fund

The target date fund controversy and what physicians should take from it.

March 4, 2026

The New Hidden Advantage of 529 Accounts for Doctors with Kids

For doctors, investing in 529 accounts has always held some nice advantages. But, with the SECURE 2.0 Act, investing in 529 accounts got even better.

March 2, 2026

The Pay Off Debt vs Invest Debate (For Doctors)

When arbitrage works, when it doesn’t, and how I think about it personally.