Pls help :( website has crashed after I added code

New Member
1 0 0

Hi there,

my website has crashed.

What I did was added the below text at the bottom of assets/theme.scss liquid file:

@media only screen and (max-width: 749px){ h2, .h2 {font-size: 1.5625em !important;} .hero__inner {padding: 15% 0 0 0 !important;} }

I was just trying to update the format of a picture to fit in mobile mode.

Now my website is completely down. If anyone can help that would be so appreciated.

Shopify Staff
Shopify Staff
1094 128 172

Hi, @mala-co,

Hank here from Shopify.

Depending on the code used and where it was entered can always have an effect on your website, but it should not cause the store to go offline completely.

I was able to view your website on both mobile and desktop, which leads me to believe that the issue is either a localized or temporary issue.





While there is the option to roll back your theme to a previous save (ensure you back up your theme first), I will give another step to try to see if this resolves the issue for you. Can you try opening your admin or your website using incognito mode to see if this works? If it does, then can you try clearing your cache and trying once more?

Let me know how you get on with this or if you have any additional questions!

All the best,


Hank | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog