How to highlight some text in forum by using bbcode

Started by danster, April 10, 2019, 12:18:24 PM

Previous topic - Next topic

danster

I'm using SMF ver. 2.0.15

Is there a way to highlight some text in the massage box using bbcode
if it is possible pls tell me what is the bbcode to be use for that

Thank you

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

danster

Quote from: Sir Osis of Liver on April 10, 2019, 12:23:40 PM
You mean like this?

NO Like we are highlighting the text by using highlighter pen I mean some color box around the text 

Antechinus

You'd have to write a custom BBC for that. Not difficult to do. You can copy an existing example in Subs.php, and just change the styling to suit.

Biology Forums

Quote from: Antechinus on April 11, 2019, 06:43:50 AM
You'd have to write a custom BBC for that. Not difficult to do. You can copy an existing example in Subs.php, and just change the styling to suit.

For a starter, probably best to use a mod like this: http://custom.simplemachines.org/mods/index.php?mod=3864

Then use:

<span style="background-color: #FFFF88; padding: 0 2px;">{CONTENT}</span>

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."


Advertisement: