View Full Version : Customize 4x6 Text Color Palette
Drucifer
07-26-2020, 04:45 AM
I have several local team colors I use over and over again in posts?
Is there any way to customize the 4x6 palette of text colors in the edit menu box?
In Omnibus
07-26-2020, 10:46 PM
You can hack the ckeditor but you won't get out the colors you put in because web browsers convert whatever you put in to the closest "web safe" color.
The best way to do it is to use HTML markup.
You can surround any post element with HTML and get the color you want.
<span style="color:#FF0000">Text</span>
Obviously, you need the exact hex values for each color for this to work as desired.
Drucifer
07-26-2020, 11:20 PM
You can hack the ckeditor but you won't get out the colors you put in because web browsers convert whatever you put in to the closest "web safe" color.
The best way to do it is to use HTML markup.
You can surround any post element with HTML and get the color you want.
<span style="color:#FF0000">Text</span>
Obviously, you need the exact hex values for each color for this to work as desired.I only use safe colors.
Actually there is one color I really used over and over #0044aa.
How do I make a simple BBcode to change one line of text to that color?
In Omnibus
07-27-2020, 12:17 AM
In the AdminCP under Custom BBCodes
Add New BBCode
These are the fields from top to bottom in case you can't read the attachment.
Color
color
<span style='color:#0044AA;'>Text</span>
Text
Changes text color to #0044AA
images/misc/button.png
You can leave the radio buttons as they are defaulted.
Make sure you put an image somewhere on your server and have your path going to that image. Otherwise you will have a blank square.
Drucifer
07-27-2020, 01:47 AM
In the AdminCP under Custom BBCodes
Add New BBCode
These are the fields from top to bottom in case you can't read the attachment.
Color
color
<span style='color:#0044AA;'>Text</span>
Text
Changes text color to #0044AA
images/misc/button.png
You can leave the radio buttons as they are defaulted.
Make sure you put an image somewhere on your server and have your path going to that image. Otherwise you will have a blank square.I did that. Except I did BLUE instead of COLOR before. It put visible bbcode tags on both sides of what I'm trying to color.
I just did yours exactly and the results were the same - visible tags and no color change.
NEVERMIND it works. I should have looked at Preview.
https://metsglobal.org/Forums/Pix/vBulletin_bbcode_BlueText.jpg
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.