I had a strange problem with one of my stylesheets that drove me nuts and beat me into submission.
I searched Google for possible solutions, without success.
I’m posting the problem and solution here in case it can help someone else in the future.
The problem was that my CSS file mysteriously morphed into a single line. Instead of being the usual vertical read, it became horizontal. It’s a big file, so it became almost impossible to edit.
I sometimes edited it in the WordPress dashboard, but more often I was downloading it with FileZilla and editing in Notepad++.
The same issue occurred with some PHP template files. These were easier to manually repair, because they’re much smaller. I just gave up with the stylesheet.
The other adverse impact, apart from locking me out of the file, was it distorted my WordPress admin dashboard.
The fix?
I went to the Flumpcakes CSS optimiser, uploaded the file and voila, I had a new, orthodox CSS file with a vertical scroll.
The file was also 20 percent smaller.
I actually tried a different optimiser before Flumpcakes, but there were some issues with lists and headlines not being bold. The Flumpcakes remedy worked perfectly.