hi for all here i have a little problem while im trying to style the groups backgrounds just like the support forum of forumotion
Example image
the Script i use
JavaScript
CSS
the problem is i dont want the background to fill the whole post content i want just to fill the top bar just like on this support forum
thank you
and sorry for bothering
or cusing trouple to any one
Example image
the Script i use
JavaScript
- Code:
$(function() {
groupMod('#FF00C4', 'admins');
function groupMod(color, classname) {$('.post:has
(span[style="color:'+color+'"] strong)').addClass
(classname)}
});
CSS
- Code:
.post.admins { background: color:#FF00C4 }
the problem is i dont want the background to fill the whole post content i want just to fill the top bar just like on this support forum
thank you
and sorry for bothering
or cusing trouple to any one