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


Problem with words wrapping inside element when resizing screen


I have a problem with the menu item text wrapping inside the elements when the screen is resized. The elements themselves are not wrapping, just the text within. I can't seem to get the element text to shrink. Do you have any recommended CSS properties?

Kristopher Van Sant
Kristopher Van Sant
Courses Plus Student 18,830 Points

Hey Jason! If you are working in workspaces can you provide a snapshot link? Or you can paste your code here so we can take a look and help see what's wrong. Either would be really helpful so we can see what code you are using.

1 Answer

Steven Parker
Steven Parker
229,982 Points

Without seeing the code or challenge, this sounds like it may be a good place to use flexbox with flex-wrap.

But depending on the course, there may be another method that's more in keeping with the teaching. Just post a link to it and share your code.