trying to style failed groups backgrounds like forumotion support forum
3 posters
Page 1 of 1
trying to style failed groups backgrounds like forumotion support forum
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
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: trying to style failed groups backgrounds like forumotion support forum
Give me a link at least.
Delete the Javascrip and add this in your CSS Stylesheet:
Replace "/u1" by your id. To find it, visit your own profile (don't edit it). It can be u1 too.
Delete the Javascrip and add this in your CSS Stylesheet:
- Code:
a[href="/u1"], a[href="/u1"] span, a[href="/u1"] span strong {
color: #961D4F;
}
Replace "/u1" by your id. To find it, visit your own profile (don't edit it). It can be u1 too.
Re: trying to style failed groups backgrounds like forumotion support forum
what the ?
did you even tried to read my qeustion ?
im waitig for better answer
something is related to my question
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: trying to style failed groups backgrounds like forumotion support forum
Hi @Michael_vx,
The class bound to your post can be used for more than modifying the background color. In fact, it can even be used to color specific elements that are children of that class. Here's an example :
This will add a border on top of the post.
The class bound to your post can be used for more than modifying the background color. In fact, it can even be used to color specific elements that are children of that class. Here's an example :
This will add a border on top of the post.
- Code:
.post.admins {
border-top:12px solid #F00;
}
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: trying to style failed groups backgrounds like forumotion support forum
That is indeed weird. Could you provide me the link to the forum ? It'll help in putting together a selector set.
Re: trying to style failed groups backgrounds like forumotion support forum
okay here the link i test on it
http://miclap.logu2.com/t1-topic
if admin rights needed you can have it
http://miclap.logu2.com/t1-topic
if admin rights needed you can have it
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: trying to style failed groups backgrounds like forumotion support forum
sorry for using double post
request is canceld
sorry for bothering
i realy sorry for that
garbag topic
request is canceld
sorry for bothering
i realy sorry for that
garbag topic
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: trying to style failed groups backgrounds like forumotion support forum
Oh, well regardless, this CSS would've done the trick :
Don't worry about it, though. Have a good day.
Garbaged
- Code:
.post > td.admins {
border-top:12px solid #F00;
}
Don't worry about it, though. Have a good day.
Garbaged
Similar topics
» Do you miss the old Forumotion Support Forum theme?
» iSupport - An Unofficial support forum of ForuMotion
» Forumotion Support Forum 1M Posts!
» Greek Forumotion Support Forum
» Welcome to the support forum of forumotion thing
» iSupport - An Unofficial support forum of ForuMotion
» Forumotion Support Forum 1M Posts!
» Greek Forumotion Support Forum
» Welcome to the support forum of forumotion thing
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum