It's better when it's simple

User Tools

Site Tools


Back to Wrap Plugin Page

Useful extensions for the Wrap plugin

These are some extensions to the Wrap Plugin created by users. Add these to your template's screen.css.


Add padding to the top, bottom or both. — ziothzioth


.plugin_wrap .wrap_bottom_pad {
    padding-bottom: 40px;
.plugin_wrap .wrap_top_pad {
    padding-top: 40px;
.plugin_wrap .wrap_topbottom_pad {
    padding-bottom: 40px;
    padding-top: 40px;

Just add some vertical space to the page. — ziothzioth


.plugin_wrap .wrap_vert_space { height: 15px; }

Usage: <div vert_space></div>

HTML5 columns

Create multi-column layout for text. These look better than the built-in column support, but do not work in Internet Explorer 8 and below. — ziothzioth


&.wrap_columns2 {
    clear: both;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
&.wrap_columns3 {
    clear: both;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
&.wrap_columns4 {
    clear: both;
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
&.wrap_columns5 {
    clear: both;
    -webkit-column-count: 5;
    -moz-column-count: 5;
    column-count: 5;

Full width images

Dokuwiki allows for fixed-width images, but what if you want a really large image to scale down to fill all available space? — ziothzioth


&.wrap_full_width_img img {
    max-width: 100%;


<div full_width_img>{{some_image.jpg}}</div>


<WRAP full_width_img>{{some_image.jpg}}</WRAP>

Content Boxes

I've found a nice (I think) way to use WRAP to make content boxes suitable to make announcements, some types of alerts, floating notes, etc. The general look is rather like content boxes on the Wikipedia main page.

Because it's rather long, I didn't want to paste it all here. Please refer to for full description including examples and CSS needed for WRAP.

  • 24 Nov 2015: User Zioth spotted insufficient permissions on my page. Fixed.


2015-11-24 02:12

See also

plugin/wrap/extensions.txt · Last modified: 2016-01-26 14:05 by Aleksandr