Lithosphere The Lithium Community

%3CLINGO-SUB%20id%3D%22lingo-sub-485034%22%20slang%3D%22en-US%22%3ETag%20shading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485034%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20determines%20the%20shading%20of%20the%20tags%3F%26nbsp%3B%20%26nbsp%3BI've%20got%20the%20tag%20widget%20in%20an%20Idea%20Exchange%20and%20it's%20set%20to%20display%20the%20most%20popular.%26nbsp%3B%20%26nbsp%3BThe%20first%20tag%20is%20black%2C%20the%20next%20few%20tags%20are%20gray%2C%20then%20all%20the%20rest%20are%20black.%26nbsp%3B%20I've%20looked%20at%20the%20%22number%20of%20posts%22%20and%20%22number%20of%20taggers%22%20associated%20with%20each%20tag%20and%20that%20doesn't%20give%20me%20a%20clue%20as%20to%20why%20some%20are%20black%20and%20some%20are%20gray.%26nbsp%3B%20%26nbsp%3BAny%20ideas%3F%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20353px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fcommunity.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F145715iC8798A63E8C040BE%2Fimage-dimensions%2F353x373%3Fv%3D1.0%22%20srcset%3D%22%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F145715iC8798A63E8C040BE%2Fimage-dimensions%2F353x373%3Fv%3D1.0%201.0x%22%20width%3D%22353%22%20height%3D%22373%22%20alt%3D%22tagshading.jpg%22%20title%3D%22tagshading.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485411%22%20slang%3D%22en-US%22%3ERe%3A%20Tag%20shading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485411%22%20slang%3D%22en-US%22%3EThanks.%20I'll%20give%20that%20a%20try.%20Lithium%20is%20currently%20doing%20some%20work%20on%20our%20system%20in%20Studio%20so%20I'll%20have%20to%20wait%20until%20they've%20finished.%20I%20REALLY%20appreciate%20your%20help.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485311%22%20slang%3D%22en-US%22%3ERe%3A%20Tag%20shading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485311%22%20slang%3D%22en-US%22%3E%3CP%3E%3Ca%20href%3D%22https%3A%2F%2Fcommunity.lithium.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F65735%22%3E%40kgroneman%3C%2Fa%3E%26nbsp%3B-%20You%20can%20do%20this%20only%20by%20adding%20the%20following%20CSS%20in%20your%20community%20style%3A%3C%2FP%3E%3CP%3Ea.lia-link-navigation.lia-tag.tag%26nbsp%3B%7B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3Ecolor%3A%26nbsp%3B%23333%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3Bfont-weight%3A%26nbsp%3Bnormal%3B%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20this%20solves%20your%20problem.%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EPayal%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485282%22%20slang%3D%22en-US%22%3ERe%3A%20Tag%20shading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485282%22%20slang%3D%22en-US%22%3E%3CP%3EOne%20last%20thought.%26nbsp%3B%20Is%20there%20an%20easy%20way%20to%20eliminate%20weight%20differences%20for%20tags%20so%20they%20all%20display%20in%20the%20same%20color%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485190%22%20slang%3D%22en-US%22%3ERe%3A%20Tag%20shading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485190%22%20slang%3D%22en-US%22%3E%3CP%3EThanks.%26nbsp%3B%20That%20gets%20me%20on%20the%20right%20track%20but%20it%20doesn't%20really%20explain%20it%20in%20my%20case.%26nbsp%3B%20%26nbsp%3BDo%20you%20know%20what%20constitutes%20%22usage%22%20%3F%26nbsp%3B%20In%20the%20tag%20cloud%20I%20posted%20an%20image%20of%2C%26nbsp%3B%20the%20%22webservice%22%20tag%20has%26nbsp%3B%202%20posts%2C%26nbsp%3B%202%20taggers.%26nbsp%3B%20%26nbsp%3BIt's%20gray.%26nbsp%3B%20%26nbsp%3BThe%20next%20tag%20%222018.02%22%20has%201%20post%20and%201%20tagger%2C%20yet%20is%20black%20like%20the%20first%20one.%26nbsp%3B%20%26nbsp%3B%20The%20weighting%20doesn't%20make%20sense%20in%20color%20in%20this%20case%2C%20nor%20in%20the%20thread%20you%20pointed%20me%20to%20as%20their%20cloud%20is%20also%20a%20mix%20of%20black%20and%20gray%20with%20some%20black%20coming%20before%20the%20gray%20and%20some%20after.%26nbsp%3B%20%26nbsp%3B%20Any%20more%20ideas%20on%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485143%22%20slang%3D%22en-US%22%3ERe%3A%20Tag%20shading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485143%22%20slang%3D%22en-US%22%3E%3CP%3E%3Ca%20href%3D%22https%3A%2F%2Fcommunity.lithium.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F65735%22%3E%40kgroneman%3C%2Fa%3E%26nbsp%3B-%20Below%20mentioned%20link%20might%20be%20helpful.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.lithium.com%2Ft5%2FDeveloper-Discussion%2FTag-Weight-CSS-Class-in-Tag-Cloud%2Fm-p%2F306257%23M11721%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.lithium.com%2Ft5%2FDeveloper-Discussion%2FTag-Weight-CSS-Class-in-Tag-Cloud%2Fm-p%2F306257%23M11721%3C%2FA%3E%3C%2FP%3E%3CP%3EThe%20color%20depends%20on%20the%20Tag%20weight.%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EPayal%3C%2FP%3E%3C%2FLINGO-BODY%3E
Valued Contributor
Valued Contributor

Tag shading

Jump to solution

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. ......and I refuse to beg for kudos.
0 Kudos
5 Replies
Respected Contributor
Respected Contributor

Re: Tag shading

Jump to solution

@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

Reply
Loading...
Valued Contributor
Valued Contributor

Re: Tag shading

Jump to solution

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. ......and I refuse to beg for kudos.
0 Kudos
Reply
Loading...
Valued Contributor
Valued Contributor

Re: Tag shading

Jump to solution

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. ......and I refuse to beg for kudos.
0 Kudos
Reply
Loading...
Respected Contributor
Respected Contributor

Re: Tag shading

Jump to solution

@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

Reply
Loading...
Valued Contributor
Valued Contributor

Re: Tag shading

Jump to solution
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. ......and I refuse to beg for kudos.
0 Kudos
Reply
Loading...