As of April 2026, CSS Margin & Padding Utility is a WordPress css plugin with 70 active installations and a 0/5 rating0. It has been downloaded 3.9K+ times in total. Requires WordPress 3.0.1+ and PHP false+. Available on WordPress.org since 2016. Last updated 8 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….
This utility plugin adds a series of css classes that allow easy addition of set padding and margin to any element.
For basic use, the classes follow the format of [margin / padding][location letter: all, top, right, bottom, left, vertical, horizontal][amount: none, small, medium, large, extra large (0.5em, 1em, 2em, 4em)]
Also in the basic classes are percentages, taking the place of the last letter in the format [p][percentage] e.g. p7-5 for 7.5% or p15 for 15%.
Examples of Basic Classes:
Additional utility classes – First / Last child, Child / Sub
To add selective classes for adding margin / padding to the first / last child, any child, or any…
| WordPress | 3.0.1+ requiredTested up to 4.7.33 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.