Public
Honored Contributor

Tag shading

What determines the shading of the tags?   I've got the tag widget in an Idea Exchange and it's set to display the most popular.   The first tag is black, the next few tags are gray, then all the rest are black.  I've looked at the "number of posts" and "number of taggers" associated with each tag and that doesn't give me a clue as to why some are black and some are gray.   Any ideas?tagshading.jpg

 

 

--
Community manager in the Micro Focus Community. My computer always used to beat me at chess, but it is no match for me now I changed the competition to kick boxing.
5 Replies 5
Honored Contributor

@kgroneman - Below mentioned link might be helpful.

https://community.lithium.com/t5/Developer-Discussion/Tag-Weight-CSS-Class-in-Tag-Cloud/m-p/306257#M...

The color depends on the Tag weight.

Thanks,

Payal

Honored Contributor

Thanks.  That gets me on the right track but it doesn't really explain it in my case.   Do you know what constitutes "usage" ?  In the tag cloud I posted an image of,  the "webservice" tag has  2 posts,  2 taggers.   It's gray.   The next tag "2018.02" has 1 post and 1 tagger, yet is black like the first one.    The weighting doesn't make sense in color in this case, nor in the thread you pointed me to as their cloud is also a mix of black and gray with some black coming before the gray and some after.    Any more ideas on it?

 

 

--
Community manager in the Micro Focus Community. My computer always used to beat me at chess, but it is no match for me now I changed the competition to kick boxing.

One last thought.  Is there an easy way to eliminate weight differences for tags so they all display in the same color?

--
Community manager in the Micro Focus Community. My computer always used to beat me at chess, but it is no match for me now I changed the competition to kick boxing.
Honored Contributor

@kgroneman - You can do this only by adding the following CSS in your community style:

a.lia-link-navigation.lia-tag.tag {      

color: #333;    

 font-weight: normal;

}

Let me know if this solves your problem.

Thanks,

Payal

Honored Contributor

Thanks. I'll give that a try. Lithium is currently doing some work on our system in Studio so I'll have to wait until they've finished. I REALLY appreciate your help.


--
Community manager in the Micro Focus Community. My computer always used to beat me at chess, but it is no match for me now I changed the competition to kick boxing.

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.