Support » Theme: Preference Lite » Article Picture not centering

  • Resolved TGAOTU


    I have a picture on on the About Me Page.

    In the backend I have it coded as:

    <img class=”size-full wp-image-794 aligncenter” alt=”david cropped” src=”” width=”240″ height=”275″ data-id=”794″ />

    In the visual it is centered but if you view the webpage the picture goes straight to the left side>?

    Any Ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Styled Themes


    yes… I found the issue which is kind of quirky but in most cases doing a margin of “auto” should work. However, there is one thing I can do on the next update for the theme which is simple to do, but in the mean time, a solution for you is to add an inline style of display:block to your <img> like this:

    <img class="size-full wp-image-794 aligncenter" alt="david cropped" src="" width="240" height="275" data-id="794" style="display:block" />

    Yes that worked perfectly, thank you for your timely and experienced help! I will def look forward to future items from you

    Theme Author Styled Themes


    cool…I am glad that worked for you. DEfinitely worth 100 star rating? haha 🙂

    Unless you have any more questions relating to this topic, is it safe to consider this topic as “Resolved”?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Article Picture not centering’ is closed to new replies.