WordPress.org

Ready to get started?Download WordPress

Forums

Pinterest "Follow" Button
[resolved] Center Image (5 posts)

  1. jrspots
    Member
    Posted 1 year ago #

    Hello,
    I am trying to center the button image and left & right align are only offered in the widget. Thanks in advance.

    http://wordpress.org/extend/plugins/pinterest-follow-button/

  2. Phil Derksen
    Member
    Plugin Author

    Posted 1 year ago #

    You'll need to add some custom CSS somewhere (such as the Jetpack CSS editor or in your theme). Try this:

    .pinterest-follow-btn-wrapper-widget { text-align: center; }
    .pinterest-follow-btn-wrapper-widget a img { margin: 0 auto; }

  3. janwith67
    Member
    Posted 8 months ago #

    `

  4. janwith67
    Member
    Posted 8 months ago #

    Hi, I am also trying to center the button. Should I change this code to the one you have above? Thanks...

    /* Pinterest "Follow" Button Public CSS */
    
    /* DIV surrounding button */
    .pinterest-follow-btn-wrapper-shortcode,
    .pinterest-follow-btn-wrapper-widget {
    
    }
    
    .pinterest-follow-btn-wrapper-shortcode img {
        border: 0;
        padding: 0;
        margin: 0;
        background: none;
  5. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    @janwith67- this thread is way outdated and marked resolved. Please start your own thread as per:

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags