I’ve removed the changes now (I’m using the Neve theme) and just inserted it into the functions file at the end.
I’ll look for the error log – but guessing I put it in the wrong section as the site just gave me a white box with something like it had encountered an error.