This book, if you can find it in a library or buy it, explains in great detail how & why the union public did support the war

www.hup.harvard.edu/books/9780674066083