Since AddThis creates HTML elements that contain a count hint (this is not a tooltip) with a single class or identifier element, if you want to be really specific (for example, choose what to hide, where you have two or more AddThis on the page ), You can:
- add the instance in which you want to hide the score inside the div using a CSS identifier or a unique class;
- use
display: none
to hide the parent element of the social media count just inside this div.
Target AddThis where you want to hide count elements
It seems obvious, but, for example, to this page , if you check (for example, in Chrome) the displayed Facebook and Twitter AddThis elements and add 'display: none' to the .pluginCountButton
and .count-o
styles that contain the elements you want hide, as expected: they disappear from the screen.
So if you nest your AddThis instances inside a uniquely identified div (or any parent element), you can simply target the one you want to hide as follows:
#hiddencount .pluginCountButton, #hiddencount .count-o { display: none; }
You need to find the equivalent .pluginCountButton
and .count-o
elements for your version and instance - each social media icon has its own, so you will need to identify each, as in the example above. You may need additional specifics between #hiddencount
and the count container to apply the style.
NOTE. Without a working example with the shown counting links, this is not verified. If you have a working example, I would be happy to test it.
source share