I have been attempting to create two equal sections, one displaying an image and the other showing text, both maintaining a square shape with identical width and height. I am using the Avada theme on Wordpress along with Element Builder and custom CSS to achieve this, but unfortunately, I have not been successful so far.
On this particular page, you can see that the result is not square but responsive:
I have come across some code snippets that do force a div to be square, but they do not take the other square into consideration. Should I resort to using jQuery for this task, please advise as I have not explored that option yet. My preference is to accomplish this using CSS if possible.
Any suggestions or ideas would be greatly appreciated!
Best regards, Fredrik