Floating of Sharethis Buttons
-
Mod
Long way: use your browser’s “View Source” function and then scroll through everything to find it.
Easy way: use Firebug.
(Hint: Use Firebug)
Seriously, Firebug is the way to go. An example is here, my tutorial (which is really an intro) is here, and Josh’s (infinitely better video) tutorial is here.
I see the following using Firebug for the area of my action hook widget:
<div id="graphene-dynamic-widget-graphene_before_post_content" class="graphene-dynamic-widget">
<div id="text-12" class="sidebar-wrap clearfix widget_text">
<div class="textwidget">awesome</div>My post id is 337.
So is this correct?
#post-337 #graphene-dynamic-widget-graphene_before_post_content {display:none;}It does not seem to work if I put it in my child theme style.css file.
Mod
It doesn’t work? Then it may be because you are not using the PHP widget, which will generate a different ID than a regular text widget.
Try this guess:
#post-337 #text-12 {display: none;}Regarding explicitly defining the URL so that the shares and counts reflect the post URL rather than the homepage URL , how can I accomplish that when using the Action Hook Widget? Wouldn’t I have to place the AddThis code to each post in order to specify the url?
Viewing 6 posts - 11 through 16 (of 16 total)
- 1
- 2
- You must be logged in to reply to this topic.
