Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter morrischeez999

    (@morrischeez999)

    I have the premium version of the plugin.

    I love it! Fantastic functionality and simple design.

    I have a problem with centering images in the pop-up.

    For example:

    The pop-up image looks like this –>

    My code is this –>

    <backticks>
    <h1 style=”text-align: center;”>Bigger Gib supports the Gibraltar Jazz Festival</h1>
    <p style=”text-align: center;”>Click <b><span style=”color: #3b5998;”>Like</span></b> to connect with Bigger Gib</p>

    <h1>[spu-facebook href=”https://www.facebook.com/biggergib&#8221; layout=”standard_count”]</h1>
     
    <p style=”text-align: center;”><img class=”thumbnail alignnone wp-image-977″ src=”http://www.biggergib.com/wp-content/uploads/2014/10/gibraltar-jazz-festival.gif&#8221; alt=”gibraltar jazz festival” width=”197″ height=”132″ /></p>
    <p style=”text-align: center;”><img class=”thumbnail alignnone size-full wp-image-796″ src=”http://www.biggergib.com/wp-content/uploads/2014/09/BiggerGibLogoPNG.png&#8221; alt=”BiggerGibLogoPNG” width=”400″ height=”187″ /></p>
    </backticks>

    https://wordpress.org/plugins/popups/

    Plugin Author Damian

    (@timersys)

    It really depends on your theme css. To manually center the image you could try something like:

    <img class="thumbnail alignnone wp-image-977" src="http://www.biggergib.com/wp-content/uploads/2014/10/gibraltar-jazz-festival.gif" alt="gibraltar jazz festival" width="197" height="132" style="width: 100px;margin: 0 auto;display:block"/>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Centre Image’ is closed to new replies.