Downloaded CSS file wrapped into one line after editing & uploading
-
I am editing a WordPress stylesheet file, style.css, using notepad++. When I uploaded the file (via ftp) after editing, I find all the line breaks have been removed. The code shows up as one big mass of text.
Here is the messed up stylesheet:
http://staging.alphaprofit.com/wp-content/themes/iconiconepro-child/style.cssHere is what the stylesheet should look like:
http://staging.alphaprofit.com/wp-content/themes/iconic-one-pro/style.cssWhen I downloaded style.css the first time, edited it and uploaded it, it seemed OK. When I downloaded the edited version, re-edited and uploaded, things have gone haywire.
How do I re-insert the line breaks?
Thanks,
Melissa -
could it be that this is some kind of eol issue?
Like you edit the file with windows eol while uploading to a unix server which expects \n only?
View->Show Symbols->Show end of lineCheers
Claudia
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login