The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

P > Em [Children]

View previous topic View next topic Go down

Solved P > Em [Children]

Post by Ace 1 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

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

Could you please explain what you are trying to do?


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


SLGray
Administrator
Administrator

Male Posts : 36740
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: P > Em [Children]

Post by Ace 1 on 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).


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

Ace 1
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

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

What are you trying to do with this code?


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


SLGray
Administrator
Administrator

Male Posts : 36740
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: P > Em [Children]

Post by Ace 1 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

Post by SLGray on 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.


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


SLGray
Administrator
Administrator

Male Posts : 36740
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: P > Em [Children]

Post by Ace 1 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

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

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


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


SLGray
Administrator
Administrator

Male Posts : 36740
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: P > Em [Children]

Post by Ace 1 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

Post by Klemen on 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
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 on September 1st 2015, 2:49 am

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


Ace 1
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

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

Code:

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

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 on September 1st 2015, 2:57 am

Thanks Kemeleon

Ace 1
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: P > Em [Children]

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

Topic solved and archived


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


SLGray
Administrator
Administrator

Male Posts : 36740
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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