Expanding a container to 100% of the viewport

I am trying to make a container fit the full viewport, but no matter what settings I have tried, it doesn’t allow it.

Thank you for your help!

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Hi @TaylorMoon have you tried using 100VW on the width settings?

The “100%” usually works as a child of a fixed-width element, so if you use “100vw” on the parent element it will work much better.

The link you share is not working for me, sorry if the answer is too broad for your specific use case.


Hi there!

This works great. Thank you so much!

1 Like