。
She was so stuck up about her education that no one liked her.
Literal
She [topic-は] learning [object-を] nose [target-に] was-hanging [because-ので] popularity [subject-が]-was-not.
鼻にかける ('to be stuck up about / take pride in') literally 'hang [something] on one's nose' — the image is of holding something up high to show off, with the nose as the proud organ. Japanese has a small family of pride-and-arrogance idioms organized around the nose: 鼻が高い ('be proud,' literally 'nose is high'), 鼻を折る ('humble someone,' 'break their nose'). 学識 is the formal compound for 'erudition / scholarly knowledge.' The cause-effect chain (~ので 'because') sets up the moral payoff: pride about learning → unpopularity, a familiar trope across cultures. The past ~ていた locks the bragging into an ongoing past habit, not a single act.