• Login
Community
  • Login

Downloaded CSS file wrapped into one line after editing & uploading

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 1.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    melissadavisgithub
    last edited by Jul 4, 2017, 5:38 PM

    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.css

    Here is what the stylesheet should look like:
    http://staging.alphaprofit.com/wp-content/themes/iconic-one-pro/style.css

    When 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

    C 1 Reply Last reply Jul 4, 2017, 6:35 PM Reply Quote 0
    • C
      Claudia Frank @melissadavisgithub
      last edited by Jul 4, 2017, 6:35 PM

      @melissadavisgithub

      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 line

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors