pulled up sub banner creator logic into its own function in the header file so that it can be reused in different content files.Also did some minor styling for posts