WordPress.org

Ready to get started?Download WordPress

Forums

New Google Plus Badge Widget
How do I centre the widget? (6 posts)

  1. partickthistle
    Member
    Posted 1 year ago #

    Hi I need to centre the widget on my sidebar at ppe.org. Using the following html usually works for me with text, images etc, but I can't seem to get it working with this plugin:

    <div align="center">
    </div>

    My question: Where in the plugin php would I put each of these lines? Or is there a better way to do it [has to be easy!]?

    Many thanks,
    James.

    http://wordpress.org/extend/plugins/new-google-plus-badge-widget/

  2. Suraj Vibhute
    Member
    Posted 1 year ago #

    Hello James,
    I can see sidebar Google Badge box is centrally aligned, can you show me using screenshot, how do you want to align it centrally?

  3. partickthistle
    Member
    Posted 1 year ago #

    Hi Suraj,

    The only reason the profile box looks centred is because it is in landscape and the width is bigger than my sidebar. It's not actually centred.

    Look at my business box at the foot of my sidebar at http://www.ppe.org/. This is what a portrait one looks like. It's left-aligned.

    How can I centre it?

    Thanks,
    James.

  4. Suraj Vibhute
    Member
    Posted 1 year ago #

    Please add below code in style.css file

    .mts_googleplus {
    text-align: center;
    }

  5. partickthistle
    Member
    Posted 1 year ago #

    Great, works a treat.

    Many thanks for taking the time to respond.

    James.

  6. Sri Shunyata
    Member
    Posted 10 months ago #

    Great Plugin Suraj,

    I'm just wondering ho to completely remove the border.

    I've tried using—

    .mts_googleplus {
    border: 0px solid !important;
    }

    http://videoseogo.com

    Please advise...

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.