Image won't center

Howdy,

On this page: http://erin.heartcorecreative.com I can not seem to get the button "click here to learn more" centred.

This is code I have:

<img class="aligncenter wp-image-1358 size-full" src="http://erin.heartcorecreative.com/wp-content/uploads/2016/06/CLICK-HERE.png&quot; alt="CLICK-HERE" width="300" height="64" />

Thanks in advance,

Casper

  • Rupok
    • Support Ninja

    Hi Casper, hope you had a wonderful day.

    That hyperlink doesn’t have any parent div class except main body. I’m not saying it’s not possible now, but this will require very complex CSS. Rather, you can simply put your button inside the <p> tag and can easily center align that.

    If you are not sure how to do that, would you mind allowing Support Access so we can have a closer look at this and try to fix this for you? I will describe what I did after I’m done.

    To enable support access you can follow this guide here:

    http://premium.wpmudev.org/manuals/wpmu-dev-dashboard-enabling-staff-login/

    Have a nice day. Cheers!

    Rupok

  • Rupok
    • Support Ninja

    Hi Casper, hope you had a wonderful day.

    I’ve changed the following code:

    <a href="https://skintherapystudio.leadpages.co/are-your-products-naughty/" target="_blank"><img class="aligncenter wp-image-1358 size-full" src="http://erin.heartcorecreative.com/wp-content/uploads/2016/06/CLICK-HERE.png" alt="CLICK-HERE" width="300" height="64" /></a>

    To this:

    <div style="text-align:center;"><a href="https://skintherapystudio.leadpages.co/are-your-products-naughty/" target="_blank"><img class="aligncenter wp-image-1358 size-full" src="http://erin.heartcorecreative.com/wp-content/uploads/2016/06/CLICK-HERE.png" alt="CLICK-HERE" width="300" height="64" /></a></div>

    Please let us know if this is not what you are exactly looking for. We will be glad to help further.

    Have a nice day. Cheers!

    Rupok

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.