Sign Up |

can't change vertical offset

(6 posts) (2 voices)
  1. embracingchange Posted 1 year ago #

    Hi,

    Love your plugin. However, the floating vertical bar starts approx 200px below the beginning of my individual posts and am not sure how to bring it up so everything is aligned. Also, when the screen is resized below 1000 px and it the bar moves, the spacing is not correct between the buttons (I'm using safari on mac). Any thoughts? My website blog is http://www.christianpankhurst.com

    Thanks!

    Christian

  2. Monjurul Dolon Posted 1 year ago #

    Hey Christian,

    I just took a look at your blog and it seems fine to me.. is this what you see?

    If you want to place it elsewhere, just turn off the automatic options in the plugin settings page (first two checkboxes) and manually insert the code into your template.

    Hope that helps!

  3. embracingchange Posted 1 year ago #

    Hi,

    Yes that is what I see. The floating bar on the left is 200pixels too low - how do I move it up so the top of the floating bar lines up with the top of the post?

    Thanks!

    Christian

  4. Monjurul Dolon Posted 1 year ago #

    So there are two ways of going about this:

    1. Use CSS to add negative position to the #sharebar to move it up, then edit the JavaScript to make sure the position is correct as the page scrolls
    2. The better way is to disable the automatic Sharebar and manually insert the code in your template - put both PHP codes right in your .post_container, like so:

      <div class="post_container">
      <?PHP sharebar(); ?><?PHP sharebar_horizontal(); ?>

    The second option is the quicker and more efficient fix.

  5. embracingchange Posted 1 year ago #

    Okay, I went with option 2 and it's an improvement but it still doesn't line up... any other ideas?
    Also the email function doesn't work now - I click on the email button and it loads a mail in apple mail and does not pre-populate with a URL and the correct subject line...

    Thx for the help

  6. Monjurul Dolon Posted 1 year ago #

    Actually, put it right after the <div id="content"> instead of inside post_container - that should do the trick. As far as the E-mail issue, I'll push a fix for that tonight - please update the plugin and it should take care of it.

    Hope that helps!


Reply

You must log in to post.

© Copyright 2010 DevGrow - Design. Develop. Grow. 20 queries. 0.36 seconds.