I am customising someone else’s theme to allow the website owner to edit more regions than she could previously.
I copied the theme into a new folder, with a different folder name to the original.
I edited style.css, and replaced the theme information with:
/*
Theme Name: Customisable SuperBaby & Ted
Author: Steve Doig
Author URI: http://tech.doig.com.au
Description: Modified version of SuperBaby & Ted to allow edits to the home page and footer navigation.
Version: 2.0
*/
Yet when I upload style.css to the theme’s folder, I see this in Appearance > Themes:
I’ve added a blank line between each line, with no difference.
I’ve copied this info into a new Notepad, copied from that Notepad, and pasted back into the original Notepad with no difference.
Can you see what is going on here?
I use Notepad2 to edit style.css
I opened it in Notepad++, and there were extra line breaks on every line.
I opened it in Dreamweaver CS6, selected Commands > Apply Source Formatting, and all extra line breaks were removed.
I uploaded it, and it now views normally in the browser (Originally viewing style.css showed the line breaks were gone).
The Theme information is now displaying properly.
Note: the style sheet was displaying properly in Notepad2 originally. Perhaps Notepad2 handles line breaks differently.
Thanks for your help.