# Tribute Page Help Please (with CSS Grid)

**URL:** <https://forum.freecodecamp.org/t/tribute-page-help-please-with-css-grid/316795>\
**Category:** General\
**Created:** [September 24, 2019, 7:24am UTC](https://forum.freecodecamp.org/t/tribute-page-help-please-with-css-grid/316795 "2019-09-24T07:24:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![katieraby](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/katieraby/32/124279_2.png) [@katieraby](https://forum.freecodecamp.org/u/katieraby)\
**Post date:** [September 24, 2019, 7:24am UTC](https://forum.freecodecamp.org/t/tribute-page-help-please-with-css-grid/316795/1 "2019-09-24T07:24:29Z")

</div>

Hello,

So ive created by tribute page as follows here: [https://codepen.io/katieraby/pen/zYOPYav](https://codepen.io/katieraby/pen/zYOPYav)

It doesn’t have the easiest transition into mobile (and some parts - around 800px are cut off), and I think there must be a way to control this just using grid without media queries?

The problem is that I like to maintain a set width of the image and the content on the second row (I don’t want it to max out across the page, and I like having two columns of space either side)

Can anyone help please?  
I have spent days puzzling over this

Thank you!  
Katie

---

<div class="post-metadata">

**Author:** ![narghar](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/narghar/32/116428_2.png) [@narghar](https://forum.freecodecamp.org/u/narghar)\
**Post date:** [September 24, 2019, 7:42am UTC](https://forum.freecodecamp.org/t/tribute-page-help-please-with-css-grid/316795/2 "2019-09-24T07:42:38Z")

</div>

Hi,  
If I understood you correctly.

Try to change to this:  
`grid-template-columns: auto minmax(auto, 425px) minmax(auto, 380px) auto;`

Here you will find more options: [https://developer.mozilla.org/en-US/docs/Web/CSS/minmax](https://developer.mozilla.org/en-US/docs/Web/CSS/minmax)

---

<div class="post-metadata">

**Author:** ![katieraby](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/katieraby/32/124279_2.png) [@katieraby](https://forum.freecodecamp.org/u/katieraby)\
**Post date:** [September 24, 2019, 6:13pm UTC](https://forum.freecodecamp.org/t/tribute-page-help-please-with-css-grid/316795/3 "2019-09-24T18:13:47Z")

</div>

Wow thank you!! That worked - it has a super smooth transition now!! 😃 I’m just going to read the docs to find out why now haha. I decided to keep my media queries because they defined how the grid areas collapse - so the image folds underneath the text rather than stays side by side

---

<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:** [January 17, 2021, 9:28am UTC](https://forum.freecodecamp.org/t/tribute-page-help-please-with-css-grid/316795/4 "2021-01-17T09:28:03Z")

</div>

Closed on January 17, 2021, 9:28am UTC


