***UPDATE: I resolved this by finding and downloading the original code online and pasting in the section I had edited
Hi, I made some small edits to theme.scss.liquid on debut and now the site is not rendering - I seem to have broken it and donāt have backup. I looked up the original section of code I was editing from a different install and replaced it but it hasnāt resolved the issue.
Any ideas? I would really appreciate help with this. (and realise I am an idiot for not making backup! )
What version number is the Debut theme you are working on? Thinking if itās pretty new you might get away with replacing entire file from latest version or that different install you mentioned (if itās close version wise)
Goes without saying itās probably just a minor typo, so double check code for errors itās usually something daft like a missing ; or }
Top tip for the future (apart from backup & test it on the duplicate 1st ), never edit the existing CSS/SASS, always add your new CSS to the bottom of the file with comments. That way if you mess it up you can just delete your addition and have another go.
Hey do you mind referring me to the original theme.scss.liquid code? I accidentally deleted the ENTIRE file when I tried to edit my background so I have to create a duplicate file and add the code myself. Please hep
I have made the same boo boo. I accidently updated the live edition of the scss.liquid.theme in an attempt to remove the grey filter on the collection photos but now its broken. Iāve tried to copy and paste an untampered version of this page but that hasnāt fixed it either. There isnāt an option to Roll Back to an older version like there is on other pages.
OK yep that is a bit goosed :). Iāll need access to your SCSS file to fix so I have sent you a collaborator access request (which will come from Shopify) so that I can get to your theme code.
Your error was between lines 3787 & 3790, you had an open { where you should have had a closed }.
When you are making CSS changes, best advice is not to edit what is there but to add your new CSS to the very bottom of that file. That way if something goes wrong you can easily delete your change and everything will go back to normal. And obvs make a duplicate before you start and test your change in the duplicate first.
@JonWright Thank you so much! Yes, I will definitely add to the bottom going forward (if I dare to make any amendments myself again!) phew, Iāve been trying to fix this for ages!