Hi @mmelton12,
Sorry for the confusion, I’ll tell you what is the issue, we have set the sentence to display: inline;
at 768px and above screens, right? That is what this @media screen and (min-width: 768px)
rule is for.
Now as you can see here
![](//tco-forum-uploads.s3.amazonaws.com/original/3X/c/4/c4e27c52388dab47a1cdfffd2b5f1af0573bfc79.png)
The text starts to wrap at 792px (still above 768px), the display: block;
trigger at 767px. The text is wrapping while the break is still not trigger, make sense?
The real problem with that setup is your text is set to fix 40px
, it is not responsive, try 2.75rem
instead.
You have two options to resolve that, adjust the font-size of your text and use a responsive unit (e.g. em
or rem
)
Or
Adjust the CSS @media
query (min-width: 768px)
to (min-width: 793px)
, that way the text starts to break before it wraps.
CSS Media Queries
CSS units for font-size
Hope it helps,
Cheers!