problem displaying images as aspect ratio 1:1 (square thumbnails)

having an issue with getting images to display as squares in 1:1 aspect ration on wordpress.
Im pulling in Woocomece gallery images and displaying them on the page.

However as you can see in the attached screenshot the object-fill: cover; or object-fill: fill; or even object-fill: none; is not working.
They are all being treated like object-fill: contain; but I need to show square thumbnails for images of all different aspect ratios.

Here is the code I am currently trying to use:

.woocommerce-product-gallery__image {
border: solid 5px #CCC;
background-color: #CCC;

How to Convert a WordPress Site into a Mobile App?

Hello All,

I work in a mobile app development company, I have some confusion that anyone can help me with the circumstances How to Convert a WordPress Site into a Mobile App?

Thanks in advance.

Can I use CSS to bring a Frontpage 4.0 site into the 21st century?

I've been asked to be honorary editor of an online magazine and I'm trying to bring it up to date. As well as writing and editing content, I want to look at using a css file for styling and to bring in Bootstrap for display on different devices. The magazine was born in an age when phones were dumb or dumber and everyone viewed pages on a desktop!

I only have basic knowledge of CSS and a reasonable familiarity with HTML, sufficient to know when something is inefficient! Some parts I cannot change, ie the corporate style.

IE CSS issues;

I have a site @ https://www.weedshopinc.com On that site i have some IE issues and believe it or not, some firefox2 issues. Let me start with IE issues:
In the boxes on the front page, you will see text like "News" and "Member Login". I have an image that creates the color behind that text in the boxes. Notice how the color (image) does not stretch to the right side of the box. It stops short in IE. In firefox2, that is not seen. Here is the CSS for those colors (images):

.box_header {
font-size:15px;
margin:0;
padding:4px;

CSS alignment issue. IE only

My website developed by the Bootstrap4, but the page is confusing on IE, is there any way to solve this problem quickly?

https://succulentsaddiction.com/soil-mix/

Syndicate content