Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Phil Derksen

    (@pderksen)

    CSS should do it. The custom CSS box adds additional CSS to all pages using the button.

    Try this:

    .pin-it-btn-wrapper { text-align: center; }

    Thread Starter sadhaka

    (@sadhaka)

    That had no effect at all.

    Thread Starter sadhaka

    (@sadhaka)

    Perhaps the extra injected css doesn’t work when the button is created by the shortcodes? Where my button is created by the shortcodes, I see the div element as:

    pin-it-btn-wrapper-shortcode

    I know you can add css to the shortcodes, like:

    float="right"

    … but how to center doesn’t seem as intuitive.

    Plugin Contributor Phil Derksen

    (@pderksen)

    Yeah if you’re using the shortcode the CSS class to manipulate is pin-it-btn-wrapper-shortcode. You may have to experiment with div centering techniques depending on your theme setup.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Centering the button under an image or caption’ is closed to new replies.