Custom Toolbar Separators

By WeregooseWeregoose

Description

This simple CSS code will allow site authors to modify the vertical separators inside editor toolbars.

Code

Go to your site manager and publish the following CSS code in a custom theme:

.wd-editor-toolbar-panel li.hseparator {
    width: 22px;
    height: 22px;
    margin: 1px;
}

Here, you may change the background properties, add a border, and so on. If you choose to modify the dimensions already listed, you'll be opting out of having a refreshing grid-like pattern within the toolbar!

In action

dot-in-action.png

The above customized toolbar results from this CSS code:

.wd-editor-toolbar-panel li.hseparator {
    background: #f00 url('http://snippets.wikidot.com/local--files/code:custom-toolbar-separators/dot.png');
    width: 22px;
    height: 22px;
    margin: 1px;
}

Rate this solution

If you think this solution is useful — rate it up! Or dump it otherwise.

rating: +2+x
Add a new comment
page_revision: 3, last_edited: 1218968011|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License