Home › Forums › Support › Forcing grid container to be always square This topic has 3 replies, 2 voices, and was last updated 3 years, 4 months ago by Fernando. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts November 27, 2022 at 5:48 pm #2438023 Igor Hi Guys, Is it possible to force the grid container to always be in square aspect ratio? Thank you! November 27, 2022 at 6:52 pm #2438077 Fernando Customer Support Hi Igor, To clarify, are you referring to a default Grid container or a GB Container Block? In any case, it should be possible. You’ll just need custom CSS. Can you provide the specific link and point us to the Container you wish to have a “square” aspect ratio? You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information November 27, 2022 at 7:03 pm #2438086 Igor Hi Fernando, Thanks for quick response! I think I solved the problem with a simple css code “aspect-ratio: 1 / 1;” I’m still not sure if this works in all browsers, but it does the job for now. Thank you! November 27, 2022 at 7:07 pm #2438087 Fernando Customer Support Glad you resolved the issue! That’s the ideal solution as well, and it should be compatible with all current Browsers. Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio#browser_compatibility Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In