Added standard code to my HTML page, but nothing is showing

lovepraisethank33 Jul 25, 2012 07:01PM EDT

I just added the basic Addthis code to our landing page at abchealth.info (just above the footer navi), but nothing is showing.

Details:

I created a simple html page (using Kompozer)and then pasted the code provided on your "get the code" page, trying both customized version as well as the code exactly as provided. So far I have not been able to get any of the buttons to appear.

What could be the problem?

Thank you so much for your help!

Raam
PS: I just did some more testing based on suggested articles, and it turns out that Kompozer somehow takes out the code pieces for the buttons whenever I save, leaving basically only the javascript code...any chance you know what I need to do to change that?

5 Community Answers

Paul Jul 26, 2012 02:36PM EDT

It sounds like Kompozer isn't allowing empty <a> tags. Try putting an &nbsp; inside the button tags to keep it from removing them, like this:

<a class="addthis_button_twitter">&nbsp;</a>

View in conversation


Up 0 Rated Down
Paul (AddThis Happiness Specialist) Best Answer Jul 26, 2012 02:36PM EDT
It sounds like Kompozer isn't allowing empty <a> tags. Try putting an &nbsp; inside the button tags to keep it from removing them, like this:

<a class="addthis_button_twitter">&nbsp;</a>
Up 0 Rated Down
lovepraisethank33 Aug 02, 2012 01:12PM EDT
Sweet, that worked, thank you!
Up 0 Rated Down
lovepraisethank33 Aug 02, 2012 01:13PM EDT
Hmmm, actually it solves the problem in that kompozer now saves the code, however, the floating buttons/ toolbar are now not showing properly anymore:

> there's now 2 "-" between the fb like button and the tweet counter and 2 more INSTEAD of the share button, which doesn't show anymore at all :(

Any words of wisdom would be much appreciated...thank you!

Raam
PS: Happy to send a screenshot, just can't attach anything here
PPS: On a sidenote, I added the fb send button code to the same toolbar, but it never shows - is it not compatible?
Up 0 Rated Down
Paul (AddThis Happiness Specialist) Aug 02, 2012 01:22PM EDT
If you could send a screenshot or a link to an example page that would be very helpful
Up 0 Rated Down
debangshu.nag Sep 13, 2012 11:07AM EDT
Try using localhost/addThis.html or use 127.0.0.1/addThis.html or sitename/addThis.html

This question is closed to new answers.

Still need help?


General Topics

 

Developers