Need to edit a line of text (more complicated than it sounds!)

Hey Guys,

I recently purchased a template and started to design my website. As you can see below I’m trying to get the word “Learnr” to fit on page across all web formats (desktop & mobile).

The obvious answer seems to be to reduce font size which does help to fit the word on the page, however when I do this it makes the font really big on mobile as per image below:

Any help would be much appreciated!!


Here is my site Read-Only:
(how to share your site Read-Only link)

Thanks so much for your help! I have put an embed on Hero Text (just the word “Learnr”) and copy pasted your code across. I’m afraid to say it hasn’t changed the placement / font size on desktop and the end of the word is still missing. Any other ideas?

If I understand you correctly, you want the word to “fill” the width of the screen, whether it is on desktop or on mobile. Am I right here?

If so:
Rather than using fixed units like px you could use vw (viewport width) as the unit for your font size. With that, the word should always use the same relative space depending on the screen size.

My problem at the moment is that everything looks great currently on mobile & 1280px and up as per screenshots:

Screenshot 2023-04-18 at 11.33.33

My issue is when I’m viewing desktop format, the end of the word “Learnr” is missing as per screenshot:

I can change the font size on desktop to fit the screen, but if I do this, for some reason the font then becomes wayyyyy too big on mobile.

…Sorry I’ve just figured it out whilst writing this. I didn’t realise I could change font size across different viewing formats. NOOB HERE :smiley:

Thanks to you both for your kind help

Few ways you can do it but made short video showing how I would approach this. I wasn’t sure about the html embed you have in there, you might be able to remove it.

1 Like

Oh wow that video was soooooo helpful!! Thank you so much for taking the time to do it, you’re a real one!