Adding more color to an already colored post?
3 posters
Page 1 of 1
Adding more color to an already colored post?
So, I followed this tutorial recently https://help.forumotion.com/t127662-how-to-change-post-text-background-color-change and I had a few issues that have been solved...
However, my question now? On my posts, I have three color setups. Administrator posts are gold and moderators are seperated into green and light grey...
How do I go about altering the above code to apply it to the bar under the post that has the online button, the message button and profile button? All of which are directly under the post.
Any help is gladly appreciated...
However, my question now? On my posts, I have three color setups. Administrator posts are gold and moderators are seperated into green and light grey...
How do I go about altering the above code to apply it to the bar under the post that has the online button, the message button and profile button? All of which are directly under the post.
Any help is gladly appreciated...
Last edited by MDillon on March 8th 2014, 2:38 am; edited 1 time in total
Re: Adding more color to an already colored post?
Hi MDillon,
Change your CSS to :
and add this script :
Administration Panel > Modules > Javascript codes management > Create a new script
Title : what you wish
Placement : in the topics
Change your CSS to :
- Code:
td .admin-post {
background:#f0f0f0 url(http://i55.servimg.com/u/f55/18/77/13/80/goldbg11.png) repeat-y
}
td .fmod-post {
background:#f0f0f0 url(http://i55.servimg.com/u/f55/18/77/13/80/greenb10.png) repeat-y
}
td .igmod-post {
background:#f0f0f0 url(http://i55.servimg.com/u/f55/18/77/13/80/goldbg12.png) repeat-y
}
and add this script :
Administration Panel > Modules > Javascript codes management > Create a new script
Title : what you wish
Placement : in the topics
- Code:
$(function() {
$('.post:has(.admin-post) + tr td').addClass('admin-post');
$('.post:has(.fmod-post) + tr td').addClass('fmod-post');
$('.post:has(.igmod-post) + tr td').addClass('igmod-post');
});
Re: Adding more color to an already colored post?
You are just awesome, you know that? Thank you! ^.^
Keep up the excellent work.
Keep up the excellent work.
Re: Adding more color to an already colored post?
Problem solved & topic archived.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Mobile version - adding new post/last post buttons and emoticons
» Post color?
» adding post by JS
» Adding "New Post" to Multi Forums in One
» Adding extra button to post editor - topic template
» Post color?
» adding post by JS
» Adding "New Post" to Multi Forums in One
» Adding extra button to post editor - topic template
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum