WordPress.org

Forums

Preference Lite
[resolved] Images won't centre (5 posts)

  1. kch
    Member
    Posted 1 year ago #

    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

  2. StyledThemes
    Member
    Theme Author

    Posted 1 year ago #

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

    /* Image styles */
    img {
       display:inline-block;

    Change that to be this:

    /* Image styles */
    img {
       display:block;

    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?

  3. kch
    Member
    Posted 1 year ago #

    Hi,

    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 http://www.osprea.ox.ac.uk

    Thanks for your help

  4. StyledThemes
    Member
    Theme Author

    Posted 1 year ago #

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

  5. kch
    Member
    Posted 1 year ago #

    Thanks, that has worked

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.