Adding Lines To Headers

How to (either manually or automatically) style headers in order to center them between lines and then hide them on smaller screens.

By: David Stockdale.