since elementor pro doesn't have the choice to set the aspect ratio of the pro gallery to 3/4, i want to add it with a css code i found.
The gallery is the main page of my website.
This is the code:
.e-gallery-image {
--aspect-ratio-value: 3 / 4
;
--aspect-ratio: calc(100% * (1 / (var(--aspect-ratio-value))));
}
The code works, but now the website is loading in a bad way (content jumping i think). The first picture is shown very closely, then it jumps to another weird view, till it finally has loaded the website and shows it well.
Can anyone help me with a code that doesn't influence the loading of the website.
Thank you in advance!