[REQ] Text Background Highlight

cowboy36

New Member
Installation

1. Upload attached highlight.png icon to your forum's image folder
2. Go to admincp > bbcode manager
3. Click "add new bbcode"
4. Fill in the following fields
* Title: Highlighter
* BB Code Tag Name: highlight
* Replacement (see below)
* Example: [bible]john 1[/bible]
* Description: This allows you to highlight text.
* Button: /images/highlight.png

The rest of the options can be left to default.

Replacement:
Code:
Code:
<style type="text/css">
.background-highlight {
        background-color: #4D528C;
        padding: 1px;
        color: white;
        line-height: 21px;
}
</style>

<span class="background-highlight">{param}</span>
Customizations
If you know css, change the colors and variations to what you want. Otherwise, use this tutorial
 
Top