Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Issue with text overlapping in mobile browser

I have built a responsive grid layout for a website. it works fine in desktop browsers, but when I shrink the width of the browser, the first two bodies of text overlap with one another.

Ken Alger
Ken Alger
Treehouse Teacher

Do you have a code snippet or example you can share?

1 Answer

Brian MacDonald
Brian MacDonald
4,951 Points

Hello Hampton,

I assume when your browser shrinks, the overall container does as well to accommodate the new screen size. This could depend on how you have your code setup.

Without seeing your code here are some recommendations:

  • Check your structure overall containers, containers around the text areas etc
  • Check your margins and padding around the text
  • How are you displaying your content?

Let us know how it goes!