WordPress.org

Ready to get started?Download WordPress

Forums

The Google+ plugin
[resolved] Positioning (4 posts)

  1. GreatWhiteShirt
    Member
    Posted 2 years ago #

    Has anyone figured out how to position the Google+ button more precisely? In my case I need it to float right and line it up properly with some other elements?

    There is an inline styled div, eg:

    <div id="___plusone_1"

    but so far I am unable to figure out where the inline CSS values are stored or generated.

    Alternatively, I could wrap the entire button in a styled div of my own creation but I can't determine in which php file the close div tag (for <div class="wdgpo wdgpo_(etc) is generated.

    If I have no control over the CSS of this I can't use this plugin, though I would like to.

    Thanks for any help.

    http://wordpress.org/extend/plugins/google/

  2. GreatWhiteShirt
    Member
    Posted 2 years ago #

    Solved:

    Line 108 of class_wdgpo_codec.php

    I had been using html comments to try and identify the correct close div tag but didn't realize that Firebug's HTML tab does not display html comments.

    As I mentioned I will wrap that div in one I can position accordingly.

    Thanks

  3. NoClue0815
    Member
    Posted 1 year ago #

    Hey GreatWhiteShirt,

    I'm actaully trying to position the +1 button by myself as well. As I'm completely new to the editing of WP-Plugins and PHP could you please tell me exactly what I have to do just to insert a few spaces ( ) in front of the button to put it a little more to the right?

    Thanks
    NoClue

  4. GreatWhiteShirt
    Member
    Posted 1 year ago #

    I don't mean to seem unhelpful but I'm not sure this can be done safely without some programming experience.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.