Nookster New member Sep 28, 2022 #1 Hi, guys! Is it possible in Xenforo to make tags two colored? I had such addon at my old vb forum and it is the best way to distinguish different tags in a cloud in my eyes. Example:
Hi, guys! Is it possible in Xenforo to make tags two colored? I had such addon at my old vb forum and it is the best way to distinguish different tags in a cloud in my eyes. Example:
Solution Forsaken Sep 28, 2022 CSS: a.tagCloud-tag:nth-child(even) { color: #FF0000; } a.tagCloud-tag:nth-child(odd) { color: #FF0000; } a.tagCloud-tag.tagCloud-tagLevel1 { color:#FF0000; } a.tagCloud-tag.tagCloud-tagLevel2 { color:#FF0000; } First changes every even-numbered child in the tag list, second changes even-numbered child. Third and fourth are existing classes that can be used but is not in a specific order in the tag list.
CSS: a.tagCloud-tag:nth-child(even) { color: #FF0000; } a.tagCloud-tag:nth-child(odd) { color: #FF0000; } a.tagCloud-tag.tagCloud-tagLevel1 { color:#FF0000; } a.tagCloud-tag.tagCloud-tagLevel2 { color:#FF0000; } First changes every even-numbered child in the tag list, second changes even-numbered child. Third and fourth are existing classes that can be used but is not in a specific order in the tag list.
Forsaken Well-known member Sep 28, 2022 #2 CSS: a.tagCloud-tag:nth-child(even) { color: #FF0000; } a.tagCloud-tag:nth-child(odd) { color: #FF0000; } a.tagCloud-tag.tagCloud-tagLevel1 { color:#FF0000; } a.tagCloud-tag.tagCloud-tagLevel2 { color:#FF0000; } First changes every even-numbered child in the tag list, second changes even-numbered child. Third and fourth are existing classes that can be used but is not in a specific order in the tag list. Upvote 1 Downvote Solution
CSS: a.tagCloud-tag:nth-child(even) { color: #FF0000; } a.tagCloud-tag:nth-child(odd) { color: #FF0000; } a.tagCloud-tag.tagCloud-tagLevel1 { color:#FF0000; } a.tagCloud-tag.tagCloud-tagLevel2 { color:#FF0000; } First changes every even-numbered child in the tag list, second changes even-numbered child. Third and fourth are existing classes that can be used but is not in a specific order in the tag list.
Nookster New member Sep 28, 2022 #3 Thanks so much!!! I thought it was a hard request to fulfill Xenforo and it's community confirms it's awesomeness Also, if someone would like to add two-color tags to the addon https://xenforo.com/community/resources/dl6-tag-cloud-widget.6261/ Code: a.dl6-tagCloud-tag:nth-child(even) { color: #FF0000; } a.dl6-tagCloud-tag:nth-child(odd) { color: #000000; } Upvote 0 Downvote
Thanks so much!!! I thought it was a hard request to fulfill Xenforo and it's community confirms it's awesomeness Also, if someone would like to add two-color tags to the addon https://xenforo.com/community/resources/dl6-tag-cloud-widget.6261/ Code: a.dl6-tagCloud-tag:nth-child(even) { color: #FF0000; } a.dl6-tagCloud-tag:nth-child(odd) { color: #000000; }