Staff bar header color according to group color
3 posters
Page 1 of 1
Staff bar header color according to group color
Hello,
I used this java code below for staff header bar color
But it is showing like this below. Under the red bar, i see a blue bar
Here you see
I used this java code below for staff header bar color
- Code:
(function($) {
'use strict';
$('<style>').text([
'.fa-post-staff {',
' border-top: 5px solid;',
'}',
].join('\n'))
.appendTo('head');
$(function() {
if (!/^\/t(\d+)(p\d+-|-).*$/i.test(location.pathname)) return;
$('.post').each(function() {
var $post = $(this);
var $name = $post.find('.postprofile strong[style] > a[href] > span[style]');
if (!$name.length) return;
if (!$name.css('color')) return;
$post.addClass('fa-post-staff').css('border-top-color', $name.css('color'));
});
});
})(jQuery);
But it is showing like this below. Under the red bar, i see a blue bar
Here you see
Re: Staff bar header color according to group color
In CSS type this:
- Code:
div.post .inner {
border-top:none;
}
System32- Premium MemberRetired Staff
- Posts : 324
FS - Cash : 350
Age : 31
Re: Staff bar header color according to group color
Information:Issue solved, topic locked. |
System32- Premium MemberRetired Staff
- Posts : 324
FS - Cash : 350
Age : 31
Re: Staff bar header color according to group color
Information: Topic moved to HTML, CSS & JavaScript Archives. |
Similar topics
» Forum header
» How to change color?
» Color of your clothes?
» Adding icon before username and legend to "Staff"
» New group Technician Team
» How to change color?
» Color of your clothes?
» Adding icon before username and legend to "Staff"
» New group Technician Team
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|