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;}
Popular Posts
- 1st Woman in GA to get Monkeypox Says it Didn’t Come from Sex … but Work (video)
- Park Visitor Discover Burning Body Hanging from Tree
- Man Leaves Philadelphia Because of Gun Violence, Comes Back for Funeral, Shot and Killed (video)
- The Steve Harvey Morning Show Says R Kelly Can Survive Off $500 After Government Seizes over $28,000 from Prison Account (VIDEO)
- Steve Harvey Says Kim Kardashian and Pete Davidson Were Never Expected to Last (VIDEO)
- The Rickey Smiley Morning Show Says, “Studs of America” Gave Brittney Griner a “Poor” Video Tribute (VIDEO)
- 10 Songs by Black Singers that NEVER Die
- Drunk Driver Who Caused Horrific Crash That Killed 6 in LA was “Upset Over Fight with Boyfriend” (video)
- Tori Alamaze on Kelis, The Music Industry and New Project
- BUSTA RHYMES TO BE HONORED AS A BMI ICON AT THE 2022 BMI R&B/HIP-HOP AWARDS