How add/change the color of topic title?
3 posters
Page 1 of 1
How add/change the color of topic title?
Hi everyone, I would like to know how can I add or change the color of topic title. Thank you, appreciate it!
My Forum: http://thelosteden.com/forum
Forum Version: Invision
My Forum: http://thelosteden.com/forum
Forum Version: Invision
Last edited by yayayes on December 5th 2014, 1:52 am; edited 1 time in total
yayayes- Forumember
- Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong
Re: How add/change the color of topic title?
Hello yayayes,
You can enable the colorization of topic titles here :
Administration Panel > General > Messages and e-mails > Configuration
Scroll down to topics and enable Allow topics title color
You can enable the colorization of topic titles here :
Administration Panel > General > Messages and e-mails > Configuration
Scroll down to topics and enable Allow topics title color
Re: How add/change the color of topic title?
Thank you very much Ange Tuteur. However, I have already enabled it. What I would like to do here is to add more color or change some color code if it's possible.
yayayes- Forumember
- Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong
Re: How add/change the color of topic title?
See if this works :
Go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In all the pages
Paste the code below :
To add new colors simply repaste newColor('name','value'); in the code above.
name : The name you want to give the new color
value : The color code of the new color
Go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In all the pages
Paste the code below :
- Code:
$(function() { if (!document.post || !document.post.topic_color) return;
newColor('Lavender','#8855DD');
newColor('#333','#333333');
newColor('#666','#666666');
newColor('#999','#999999');
var c = document.post.topic_color.childNodes,i;
for (i=0; i<c.length; i++) if (c[i].style.color == document.post.subject.style.color) c[i].selected = true;
function newColor(name, value) {
var a = document.createElement('OPTION'), b = document.post.topic_color;
a.innerHTML = name, a.style.color = value, a.value = value;
b.insertBefore(a,b.firstChild)
}
});
To add new colors simply repaste newColor('name','value'); in the code above.
name : The name you want to give the new color
value : The color code of the new color
Last edited by Ange Tuteur on February 27th 2015, 4:07 pm; edited 1 time in total
Re: How add/change the color of topic title?
This code is not working, sorry ^^"
yayayes- Forumember
- Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong
Re: How add/change the color of topic title?
That might be because your board contains errors.
One of your scripts in 12299.js contains a script tag which is not support in a JS file.
There's an 'a' after this in 99350.js :
One of your scripts in 12299.js contains a script tag which is not support in a JS file.
- Code:
<SCRIPT type="text/javascript">
There's an 'a' after this in 99350.js :
- Code:
jQuery(document).ready(function(){jQuery("#newsareal10").load("/f274-forum a.topictitle:lt(3)")});jQuery(document).ready(function(){jQuery("#newsareal11").load("/f275-forum a.topictitle:lt(3)")});a
Re: How add/change the color of topic title?
Oh that's true. Thank you again Ange Tuteur ><!
yayayes- Forumember
- Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong
Similar topics
» Topic title color customization
» Change Topic Title width and height
» Title of topic/description text or background change.
» How can I change the length of the title for topic
» wana change all widget title background and Text color
» Change Topic Title width and height
» Title of topic/description text or background change.
» How can I change the length of the title for topic
» wana change all widget title background and Text color
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum