Okay
  Public Ticket #2654582
Images REsizing
Closed

Comments

  •  4
    Marshall started the conversation

    On a few of my pages, images are resizing to a larger size than they are set at.

    On:

    https://www.studypa.org/

    The sponsor logo is increasing in size and on the page: https://www.studypa.org/pennsylvania/

    The first icon is increasing in size.

    This was not occurring before and I have not changed the css for these images or edited them

  •  2,963
    Andrew replied

    Hi Marshall,

    Try using the Regenerate Thumbnails plugin https://wordpress.org/plugins/regenerate-thumbnails/ and see whether this helps.

    Thanks.

  •  4
    Marshall replied

    Sorry. That did not fix the issue.

  •  2,963
    Andrew replied

    Hi Marshall,

    Please send your admin login credentials so that we can look into the issue further.

    Thanks.

  •   Marshall replied privately
  •  2,963
    Andrew replied

    Hi Marshall,

    Please try reducing the logo height from here:

    5369001741.png

    For the increasing icon please try this css:

    .row .col img.img-with-animation.nectar-lazy:not([srcset]) {
        width: 64%;
        height: 160px;
    }

    Thanks.

  •  4
    Marshall replied

    My header logo was fixed in another thread.

    The code you gave me works fine when applied to the image on the "Life in PA" page https://www.studypa.org/pennsylvania/ and slightly altered and put in Page CSS 

    .row .col img.img-with-animation.nectar-lazy:not([srcset]) {
        width: auto;
        height: 150px;
    }

    For the front page logo I had to add the following to the page CSS https://www.studypa.org/

    .row .col img.img-with-animation.nectar-lazy:not([srcset]) {
        width: auto;
        height: 71px;
    }

    I had to do it this way since this code affected two different images on two different pages and they are not the same dimensions. 

    Is there a way to not do it by individual pages and put it in the CSS? Seems strange that just these two images are affected on the site but no where else is.


    Thank you.

  •  2,963
    Andrew replied

    Hi Marshall,

    I realized your salient theme is still 12.1.4, please update to the latest version 12.1.5 before we proceed. Use this guide http://themenectar.com/docs/salient/updating-salient/.

    Thanks.

  •  4
    Marshall replied

    OK. I did this and now the site is not loading. I have deactivated all plugins. I have tried to disable the child theme, but it won't let me, and I cannot revert and activate the theme and the site gets stuck loading and there is this weird popup now in all my browser windows "Save and Share your social media".

  •  4
    Marshall replied

    And now after trying to debug I get this error:

    There has been a critical error on this website.

    Learn more about debugging in WordPress.


  •  4
    Marshall replied

    I have disabled most of the plugins and I am somewhat getting th site back, but the design and links and other info. has been broken. Somehow my footer reverted back to an old design and widgets. The whole thing is perplexing.

  •  4
    Marshall replied

    I restored the site from an older version. I'll need to make some changes that I fixed earlier. I will let you know when that is done and I have a recent backup before attempting this again

  •  4
    Marshall replied

    Sorry for all the messages. I have reverted and fixed all issues. I will back up the site. However, I am reluctant to update to the new Theme version as it completely broke my site. Do you have any suggestions to avoid this?

  •  2,963
    Andrew replied

    Hi Marshall,

    Here's the documentation on the available methods for updating Salient: http://themenectar.com/docs/salient/updating-salient/#methods 

    It is a good idea to update on staging site if you are using  old theme version as there are changes that have been made on the current version. 

    Try installing the https://wordpress.org/plugins/easy-theme-and-plugin-upgrades/ to avoid file already exist error.

    Kind regards

  •  4
    Marshall replied

    I have tried every method except a staging site — I just don't have the time or capabilities to tackle that. No matter how I activate the new theme, make changes to plugins, clear cache, etc… I get a blank screen after updating the theme.