Graphene Themes Forum

Graphene Themes Forum

Community support for Graphene themes

  • Home
  • Register
    • Reset password
  • Contact Us

Home › Forums › Graphene WordPress theme › Support

Floating of Sharethis Buttons

  • lmkitties

    January 10, 2012 at 2:35 am #22076

    How do I find the id# of the action hook widget that I’m using?

    Mod

    Kenneth John Odle

    January 10, 2012 at 2:47 am #22077

    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.

    lmkitties

    January 10, 2012 at 3:34 am #22078

    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

    Kenneth John Odle

    January 10, 2012 at 3:55 am #22079

    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;}

    lmkitties

    January 10, 2012 at 4:23 am #22080

    I’m embarrassed to say that both work. I’d missed a closing ‘}’ on the stylesheet entry just above where I was putting this new code in.

    Thank you very much. You have a great blog, btw.

    lmkitties

    January 10, 2012 at 4:37 am #22081

    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.
Log In

Account

Log In
Register Lost Password

Search Forums

Priority Support

This free Support Forum relies on contributions from our support staffs and fellow Graphene themes users. While we endeavour to provide adequate and timely support, due to its voluntary nature responses are not guaranteed and may be delayed.

If you require urgent assistance, you may like to consider our Priority Support option.

Get Priority Support

Forums

  • Graphene WordPress theme
  • Graphene Mobile
  • Graphene Mobile Neo
  • Franz Josef

Recent Topics

  • The photo of my article is loading in the banner??
    12 months ago
  • need the original standard right sidebar back
    1 year ago
  • Hiding Child Listings only on Specific Pages?
    1 year ago
  • Is it possible to move the Comments counter?
    1 year ago
  • Image Size on Slider in home page
    1 year ago

Made with by Graphene Themes.