The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

P > Em [Children]

3 posters

Go down

Solved P > Em [Children]

Post by Ace 1 September 1st 2015, 12:23 am

Is there a way to edit certain children of the legend?

Code:
p > em > b:first-child { font-size: 0 }
p > em > b:last-child { font-size: 0 }

First and last children work well. But  I tried p > em > b:second-child and it did not work.

Thanks! #phpbb3
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

Post by SLGray September 1st 2015, 1:14 am

Could you please explain what you are trying to do?


P > Em [Children] Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51583
Reputation : 3526
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: P > Em [Children]

Post by Ace 1 September 1st 2015, 1:30 am

First-Child indicates the first group in the legend (g387-forum-administrators).
Last-Child indicates the last group in the legend (g-4088-forum-trial-reviewers).
P > Em [Children] KnDoI

Is there any way to call the second child in the legend (g40-forumotion-managers)?
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

Post by SLGray September 1st 2015, 1:37 am

What are you trying to do with this code?


P > Em [Children] Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51583
Reputation : 3526
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: P > Em [Children]

Post by Ace 1 September 1st 2015, 1:41 am

Idk. Whatever I need to do. Mostly jsut hide some groups or something

Code:
p > em > b:first-child { font-size: 0 }
p > em > b:last-child { font-size: 0 }
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

Post by SLGray September 1st 2015, 1:43 am

You can hide groups in the administration panel?

Also you can hide the group in the legend by using CSS.


P > Em [Children] Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51583
Reputation : 3526
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: P > Em [Children]

Post by Ace 1 September 1st 2015, 1:44 am

See, the thing is...

When you hide groups via the ACp, it doesnt color code users of that hidden group.

And Im trying to figure out how to do this through css
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

Post by SLGray September 1st 2015, 1:48 am

Code:
a[href="/YOUR GROUP"]{
  display: none;
}


P > Em [Children] Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51583
Reputation : 3526
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: P > Em [Children]

Post by Ace 1 September 1st 2015, 1:56 am

Smh. Not that code. Cuz that code makes it so all links that direct to "/g1-example" disappear. All over the forums. I just want it gone in the legend
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

Post by Klemen September 1st 2015, 2:25 am

Try this:

Code:

em b:nth-of-type(1){
    display:none;
}

Replace the number '1' at whatever position the thing you want to hide is at.


I still don't see why you don't want to use SLGray's method though.
Klemen
Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: P > Em [Children]

Post by Ace 1 September 1st 2015, 2:49 am

Can you give an example using this image and Forumotion Managers?

P > Em [Children] KnDoI
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

Post by Klemen September 1st 2015, 2:52 am

Code:

em b:nth-of-type(2){
    display:none;
}
Klemen
Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: P > Em [Children]

Post by Ace 1 September 1st 2015, 2:57 am

Thanks Kemeleon
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

Post by SLGray September 1st 2015, 3:24 am

Topic solved and archived


P > Em [Children] Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51583
Reputation : 3526
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum