You can remember the meaning of 而是 with this easy mnemonic:
Everyone thinks that he is kind and (而) warm, but rather in actuality, he is (是) quite the short-tempered man.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.