Separate out navbar text alightment to class