Cascading Style Sheets

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;

Custom font css not working in Squarespace 7.0

My custom font CSS is not working in Squarespace 7.0. I have uploaded the font which is this font:

I am using this code to add the font, but nothing is changing and the font is not displayed.

@font-face {
font-family: 'Wayfinder';
src: url('');
h1 {font-family: 'Wayfinder';}

Headline color

I am trying to change the color of the headline of and it doesnt seem to work.
Could anyone help me?

z-index not working on IOS browers

I've got a container DIV which has a position of relative. Inside this a text input box and another DIV (resultsContainer). This second DIV has position absolute, z-index of 9999 and has children DIV's added by JS fetch response looping through JSON data.

It works on desktop/laptop browers fine.

The resultsContainer is showing on top of everything fine and provides a list of options.

When on IOS Chrome is shows behind everything else on the page? (as if z-index is being ignored.

I've googled it, gave me this option

    -webkit-transform: translate3d(0,0,1px);

lightening strikes animation on webpage

hello, i need help;
ive used and basically copy pasted the code, but i need it to go over the whole page and i want to change the backround to invisible, so i basically only have the lightneing strikes.... can someone help me out?

Syndicate content