I'm in the process of launching a fresh new blog with Flask as the backend. Currently, I'm using a Bootstrap template and have set an image as the featured image. While it displays properly on computers, tablets crop it out. You can check out the page here.
The specific issue is with the image at the top featuring the word LEARN on cubes.
Is there a way to automatically resize this image instead of having it cropped on smaller screens?
Here's the code snippet for that section:
<div class="container">
<div class="jumbotron jumbotron-fluid mb-3 pt-0 pb-0 bg-lightblue position-relative">
<div class="pl-4 pr-0 h-100 tofront">
<div class="row justify-content-between">
<div class="col-md-6 pt-6 pb-6 align-self-center">
<h1 class="secondfont mb-3 font-weight-bold">AnyGeeks - A Tech Blog</h1>
<p class="mb-3">
Welcome to AnyGeeks. Here we discuss anything about Tech, Provide Tutorials, Blogging Tips, Game Reviews or anything that involves tech.
</p>
<a href="./about.html" class="btn btn-dark">Read More</a>
</div>
<div class="col-md-6 d-none d-md-block pr-0" style="background-size:cover;background-image:url('{{ url_for('static', filename='img/home.jpg') }}')"> </div>
</div>
</div>
</div>
On line four from the end of the code is where the image is set. It would be much appreciated if someone could help fix this issue.