Formatting issues on home screen

Topic summary

A user reports two mobile formatting issues on their Shopify store: hero section text being cut off and the “CerebrumForge” text not centering properly.

Initial Solutions Provided:

  • Multiple contributors offered CSS fixes to be added via theme.liquid or CSS files
  • First issue (text visibility) was addressed by reducing font size on mobile using media queries
  • One contributor noted the centering issue would auto-resolve once text size was reduced

Complications:

  • The original poster reports that proposed solutions create new problems:
    • “Shop Now” button text wrapping to two lines
    • Other page sections becoming stretched or distorted
  • A follow-up CSS solution was provided specifically targeting the centering issue

Current Status:

  • Discussion remains ongoing with the user still experiencing formatting problems after applying suggested fixes
  • Screenshots demonstrate the issues persist, suggesting the solutions may need refinement or a different approach
Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

I have several formatting errors on the mobile version of my website. Please see the photos. In the hero section, the text is not fully visible.

then when you scroll further down, CerebrumForge is not centered properly

website: https://mmz7sv-mw.myshopify.com/

password: seupri

2 Likes

Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution

Hi @alexlomt1 ,

Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.

@media (max-width: 768px){
#shopify-section-1489283389016 h1 {
    font-weight: bold;
    font-size: 20px !important;
}
}
1 Like

Hey @alexlomt1

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

Thanks. What about the second photo? How can I fix the centering issue?

It will auto-center itself if you apply MustafA16`s solution. The text and the word is just too big for that screen, this is why it overflows to the right.

But then it also does double line on the shop now button which it shouldn’t do

Also it messes up and streches other parts it shouldn’t

Hello. Thank you, this works but how can I fix the second issue - the centering of the “CerebrumForge” text?


Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution