How to change LEGEND Style

Go down

Solved How to change LEGEND Style

Post by Babybok on August 15th 2014, 9:22 am

Hi, Good day forumotion staff and members. anyone can help me if it is possible to change the style of the legend?

Image tells all.



Instead of " [ Head Administrator ] " Can i Change it to " Head Administrator •  Lead Administrator • "




thanks in advance. 
avatar
Babybok
Forumember

Male Posts : 195
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

Solved Re: How to change LEGEND Style

Post by Ange Tuteur on August 15th 2014, 7:54 pm

Hello Babybok,

Go to Administration Panel > Display > Templates > General > index_body

Find :
Code:
<tr>
 <td class="row1"><span class="gensmall">{LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}</span></td>
 </tr>

Replace by :
Code:
<tr>
 <td class="row1"><span class="gensmall legend">{LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}</span></td>
 </tr>

Save and publish.


Next add the following rules to your stylesheet :
Display > Colors > CSS stylesheet

Code:
.gensmall.legend { font-size:0 }
.gensmall.legend b:after { content:" • " }
.gensmall.legend b:last-child:after { content:"" }
.gensmall.legend b:first-child:before { content:"Legend : " }
.gensmall.legend b:after, .gensmall.legend b:first-child:before {
  font-size:10px;
  font-weight:normal;
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: How to change LEGEND Style

Post by Babybok on August 16th 2014, 9:17 am

Thanks Support Moderator Ange Tuteur this issue is solved.
Please don't use bold or color and keep to the default text. This is reserved for the staff for moderation.
Please remember to edit your posts when solved and mark it with the green Solved Icon

Topic solved and archived
avatar
Babybok
Forumember

Male Posts : 195
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

Back to top


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