Is there a way to add separators to sidebar? [duplicate]

There used to be a way to do it cleanly in earlier version of the OS but it is no longer supported.

I use a folder called "---------" which leaves a folder icon at the left edge.

Patrick Welker details a way of doing the same but not having the folder icon by replacing the Smart Folder icon with a transparent one( http://rocketink.net/2013/04/vanilla-finder.html) but that means any Smart Folders are iconless.