Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Jul 2020, 06:45
Drucifer's Avatar
Drucifer Drucifer is offline
 
Join Date: Feb 2010
Customize 4x6 Text Color Palette

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?
__________________
DREW

Running vB v5.6.3 at Mets Global
Reply With Quote
  #2  
Old 27 Jul 2020, 00:46
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
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.
Reply With Quote
  #3  
Old 27 Jul 2020, 01:20
Drucifer's Avatar
Drucifer Drucifer is offline
 
Join Date: Feb 2010
Originally Posted by In Omnibus View Post
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?
__________________
DREW

Running vB v5.6.3 at Mets Global
Reply With Quote
  #4  
Old 27 Jul 2020, 02:17
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
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>

[color]Text[/color]

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.
Attached Images
File Type: jpg Untitled.jpg (46.2 KB, 4 views)
Reply With Quote
  #5  
Old 27 Jul 2020, 03:47
Drucifer's Avatar
Drucifer Drucifer is offline
 
Join Date: Feb 2010
Originally Posted by In Omnibus View Post
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>

[color]Text[/color]

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.

__________________
DREW

Running vB v5.6.3 at Mets Global

Last edited by Drucifer; 27 Jul 2020 at 06:30.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Miscellaneous Hacks Randomize your Adsense Ad Colour Palette on Page Refresh Q-v-n-s-Q vBulletin 3.7 Template Modifications 11 07 Nov 2015 18:36
Suite Style Simple Blue-ish Colour Palette phumphries vBulletin 4.x Styles 31 26 Jul 2012 18:29


Tags
text color


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:56.

Layout Options | Width: Wide Color: