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, 01:23

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, 02:14

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 : 51463
Reputation : 3519
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, 02:30

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, 02:37

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 : 51463
Reputation : 3519
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, 02:41

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, 02:43

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 : 51463
Reputation : 3519
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, 02:44

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, 02:48

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 : 51463
Reputation : 3519
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, 02:56

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, 03:25

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, 03:49

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, 03:52

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, 03:57

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, 04:24

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 : 51463
Reputation : 3519
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