# Help needed with responsiveness please!

**URL:** <https://forum.freecodecamp.org/t/help-needed-with-responsiveness-please/236063>\
**Category:** I Built This\
**Created:** [October 25, 2018, 2:58pm UTC](https://forum.freecodecamp.org/t/help-needed-with-responsiveness-please/236063 "2018-10-25T14:58:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnno](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/johnno/32/103815_2.png) [@johnno](https://forum.freecodecamp.org/u/johnno)\
**Post date:** [October 25, 2018, 2:58pm UTC](https://forum.freecodecamp.org/t/help-needed-with-responsiveness-please/236063/1 "2018-10-25T14:58:19Z")

</div>

Hi,

I’m hoping somebody can take a look at my [Technical Documentation page](https://codepen.io/johnno8/pen/zmRaaq) and maybe help me out.

I’m pretty happy with my page apart from it’s responsiveness. I have one media query to change the position of the nav bar from the top to the side of the page which works fine. The main element is set to 100% width (which I understand to mean 100% of its container) but when the screen size goes below about 680px the content stops scaling down. The reason this happens may be obvious to someone else, so I’m hoping one of you might see what I’ve been missing.

Thanks!

---

<div class="post-metadata">

**Author:** ![ghukahr](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ghukahr/32/103947_2.png) [@ghukahr](https://forum.freecodecamp.org/u/ghukahr)\
**Post date:** [October 25, 2018, 3:35pm UTC](https://forum.freecodecamp.org/t/help-needed-with-responsiveness-please/236063/2 "2018-10-25T15:35:26Z")

</div>

To be honest I don’t know exactly what’s causing this. In any case I found two workarounds, see if it helps you:

Option 1: Set `grid-template-columns: 100%;` in your `.container` class.

Option 2: Since you use the grid only in the media query, you can set `.container` to `display: block` and in the media-query itself you set it to `display: grid`.

---

<div class="post-metadata">

**Author:** ![johnno](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/johnno/32/103815_2.png) [@johnno](https://forum.freecodecamp.org/u/johnno)\
**Post date:** [October 25, 2018, 3:39pm UTC](https://forum.freecodecamp.org/t/help-needed-with-responsiveness-please/236063/3 "2018-10-25T15:39:25Z")

</div>

I’ll try those out, thanks for taking a look!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 1:42pm UTC](https://forum.freecodecamp.org/t/help-needed-with-responsiveness-please/236063/4 "2021-06-01T13:42:04Z")

</div>

Closed on June 1, 2021, 1:42pm UTC


