Zoom in and cut images in Twenty Seventeen header image

To Solve this issue better to use javascript library imageScale(); Different options available in this(fill, best-fill, best-fit, best-fit-down). You have to just include js file. then after using the following format for the image. <div class=”image-container”> <img class=”scale” data-scale=”best-fit-down” data-align=”center” src=”https://wordpress.stackexchange.com/questions/300845/img/example.jpg”> </div> Now add this JavaScript code to your page. $(function() { $(“img.scale”).imageScale(); }); The … Read more

WordPress hosted on AWS EC2

This type of question isn’t accepted on WordPress’s Stack Exchange. Please check the Accepted Topics. Below is some information for you. If the client’s WordPress site is running on an Amazon EC2 instance, then you don’t need to do anything. WordPress Core, Plugin, and Themes can be updated from the WordPress Admin Dashboard without having … Read more

Making a development site live, on Amazon EC2

Well, let’s drill down on this situation a little bit: Do you have git enabled on both environments? Do you need to migrate the database as well? Most of the situation depends on how the previous developer has set it up. Ideally you have different branches in git and you’re merging the develop with the … Read more

Why does WordPress uses HTTPS for JS, CSS on EC2

The Reason for the Issue was https-redirection plugin. I wasnt aware there was https-redirection plugin installed. So, even though i checked wp-config.php & .htaccess for SSL redirects, the plugin was forcing SSL for CSS/JSS/images. I renamed the plugin folder and everything is proper now. sudo mv /var/www/html/wp-content/plugins/https-redirection /var/www/html/wp-content/plugins/STOP-https-redirection