Support » Theme: Preference Lite » Images won't centre

  • Resolved kch


    Hi, I am a rookie with WordPress and know very little about code, with that in mind I would be very grateful for your help!
    I recently updated the theme, and since then all my images that were centered now are on the left ( including my header image)
    They still come up as ‘centered’ when editing the image. I have indented some of them in the page so they look ok on screen, but this is obviously not ideal, and I am unable to do this with the header image.
    There also seems to be new distortion when viewing the site on Android, in that some pages are only taking up half of the screen.
    Hope you can help

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


    For the first part, open the theme’s style.css and look for this around line 685:

    /* Image styles */
    img {

    Change that to be this:

    /* Image styles */
    img {

    I will make this part of the next update.

    For the other issue…more likely something in the content is not responsive. Could you provide a link and I will check this out to see if it’s the theme or something in your content?


    Thanks for the reply.
    I made the change but it doesn’t seem to have helped.The header is still aligned to the left and I tried putting a new image in and this also still aligned to the left.
    The link is

    Thanks for your help

    Theme Author Styled Themes


    You may want to clear your browser cache..I just went to your site and see the image is centered.

    Thanks, that has worked

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images won't centre’ is closed to new replies.