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.

Changing the design of the legend

View previous topic View next topic Go down

Solved Changing the design of the legend

Post by tedyblue on January 14th 2016, 12:30 pm

Hello guys,

I have been looking all morning for a topic which could have helped me, but I haven't found one.

I want to change the legend of my forum so it has two lines of groups.

One in which I will put admins, global mods, and mods and one for the rest of the groups. I remember it was some changing in the templates - index_body, buy I can't find he topic I've used before.

Thank you for your time.


Last edited by tedyblue on January 14th 2016, 2:05 pm; edited 1 time in total

tedyblue
Forumember

Female Posts : 73
Reputation : 4
Language : Bulgarian, English

http://deeper-than-blood.forummotion.com/

Back to top Go down

Solved Re: Changing the design of the legend

Post by 10spetter10 on January 14th 2016, 1:44 pm

Indeed, you need to edit your template to give the legend element an id so you can call to it, change:
Code:
<em>{LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}</em>
to
Code:
<div id="legend">{LEGEND}&nbsp;:&nbsp;<span id="list">{GROUP_LEGEND}</span></div>

Then add this css:
Code:
#legend #list {
  color: transparent;
  font-size: 0pt;
}
#legend b {
  font-size: 10px;
}
#legend b:nth-of-type(2):before { /*number stands for the group where you break the line */
  content: '\a';
  white-space: pre;
}

10spetter10
Forumember

Posts : 195
Reputation : 81
Language : Dutch

Back to top Go down

Solved Re: Changing the design of the legend

Post by tedyblue on January 14th 2016, 2:04 pm

Thank you. It worked.

Marked as solved.

tedyblue
Forumember

Female Posts : 73
Reputation : 4
Language : Bulgarian, English

http://deeper-than-blood.forummotion.com/

Back to top Go down

Solved Re: Changing the design of the legend

Post by APE on January 14th 2016, 10:26 pm

Topic solved and archived





APE
Manager
Manager

Male Posts : 8319
Reputation : 716
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

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