• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Custom BB Codes - <hr> tag

Moddis

Active member
#5
Hi,

How do I create a <hr> tag with the core Custom BB Codes.

Thanks

One way I tried replicating the HR is using something like this:

BB Code Tag/Title: hr
For HTML Replacement: <span class="cusHr">{text}</span>
In CSS:
.cusHr {
display: block;
padding-bottom: 10px;
border-bottom: 1px solid #000000;
}

So if I really need to use a line break after some text I just enclose all that text in a [HR]{text}[/HR] and it has a nice little line under it.