Senior class president is not capitalized when used in a generic sentence: “I was in a meeting with the senior class president.” You only need to capitalize the phrase if it precedes an individual’s name: “Senior Class President Andy Robertson always ensures students are well-treated.”