Text breaking dawn theme - Image with text heading.

Hey guys,

I was hoping someone could help me with this, its driving me crazy.

I can get the text to line up, on mobile and desktop it keeps breaking.

I want it to be one work per line as large as possible for both mobile and desktop.

Mobile is a complete

Hi, @Phreshcareco
Could you please share your store link?
Thanks.

Oh sorry www.phreshcareco.com.au

Hey @Phreshcareco

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hello @Phreshcareco

Go to online store ---------> themes --------------> actions ------> edit code------->base.css
add this code at the end of the file.

#shopify-section-template--22881209385275__image_with_text_7znNWJ h2 {
font-size: 3rem;
text-align: center !important;
}

result

If this was helpful, hit the like button and accept the solution.
Thanks

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

@media screen and (max-width: 767px) { #shopify-section-template--22881209385275__image_with_text_7znNWJ h2{ font-size: 3rem !important; text-align: center !important; } }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.