CSS Margin & Padding Utility

By : unknown

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:

  • man - margin all none margin: 0px;

  • prl - padding right large padding-right: 2em;

  • mvp5 - margin vertical 5% margin: 5% 0;

Additional utility classes - First / Last child

To add selective classes for adding margin / padding to the first / last child of the required element, simply add 'last-' or 'first-' to the basic classes.

Examples of Child Classes

  • last-mhxl - last-child margin horizontal extra large last-mhxl :last-child margin: 0 4em;

  • last-pbn - last-child padding bottom none last-pbn :last-child padding-bottom: 0;

  • first-mtm - first-child margin top medium first-mtm :first-child margin-top: 2em;

Additional utility classes - Responsive margin / padding

You can also apply the margin / padding required to certain screen widths, ranging from xl (min: 1200px) to xs (max: 480px). To use these responsive classes, add -[screen-size] to the end of the basic classes.

Examples of Responsive Classes

  • mrm-lg - margin right medium, large screen (max-width: 1199px) and (min-width: 980px) margin-right: 2em;

  • pas-xs - padding all small, xsmall screen (max-width: 480px) padding: 0.5em;

  • mhp15-md - margin horizontal 15%, medium screen (max-width: 979px) and (min-width: 768px)

**Additional utility classes - Boxsha

Fix Image Caption Padding

This plugin allows you to remove (or alter) the arbitrary 10px 'pad' that WP inserts on the divs holding images and captions...

Similar: 40%

Visual Developer Lite

Visual Developer Lite has been discontinued, use the full plugin for free : https://wordpress.org/plugins/visual-developer-custom-css/ Enjoy....

Similar: 20%

Visual Developer Custom CSS

Visual Developer is just an awesome way to customize any wordpress powered website, by just using your imagination. Everything is in front of you, and you can reduce your development time by hours, and probably customize things you've never taught possible before. Everything has been tested and re-.........

Similar: 20%

VisualMods Inline

VisualMods Inline is a plugin for Inline page & post styling. It adds 5 new buttons in the WordPress editor for padding, margin, rounded corners, background color and background images. With VisualMods Inline you'll be able to style your inner page elements. You can design elements like links, .........

Similar: 13%

Space Invaders

When the plugin is activated, TinyMCE now have three new buttons: Linefeed: passes the equivalent of two lines. Tab: it's the same as the "tab" key of our keyboard. Line-reset: if you put an image and you write some text beside, the line-reset simply making your cursor coming under the both. ...

Similar: 9%

Syntax Highlighter Compress

Syntax Highlighter ComPress is a simple WordPress plugin, that is based on the latest Alex Gorbatchev's SyntaxHighlighter Script. Code and source text of different mark-up or programming languages can be highlighted in WordPress. There are other WordPress plugin based on the SyntaxHighlighter Scrip.........

Similar: 8%

Custom Ads Sidebar

This plugin help admin display different ads for different post. For example: In a topic you write about travel service, you could display travel ads such as hotel, restaurant, tour... by adding ads directly in single post edit page. To display your ads, please add html code to field when editting p.........

Similar: 8%

Grayscale Images

This plugin converts all images to grayscale and show the colored image on hover. This plugin is based on the work show in Streamline.lv. The IE10 and IE11 browser detection was developed by Tim Pietrusky. It supports the next browsers: Google Chrome. Mozilla Firefox. Apple Safari. Microsoft IE.........

Similar: 8%

Head & Footer Code

Let we say that you have been told to add some custom code (HTML, JavaScript or CSS style) to page's <head> (like site verification code, custom styles, webfont link, etc), or just before </body> (like pixel tracking, analytics code, heatmap code, etc), but you are not programmer. Then y.........

Similar: 8%

GoWorks Styler

Grab readers by the eyeballs GoWorks Styler adds new buttons to the WordPress visual editor, allowing you to enhance your posts and pages with custom colors, opacity, borders, padding, and more. Use GoWorks Styler to draw attention to important text on your page, to set off sections with colored ba.........

Similar: 7%