は好きではなかったが

didn't like ... but

→ は
phrase Rare #37,727
didn't like ... but Used after a noun or activity to say that someone did not like it in the past, followed by が meaning “but.”
JA: 子どものころは野菜は好きではなかったが、今はよく食べます。
EN: I didn't like vegetables when I was a child, but I eat them often now.

昔はオペラは好きではなかったが今はすごい楽しんでいます

I didn’t used to like opera, but I really enjoy it now.

はじめロック音楽は好きではなかったがじきに好きになってしまった

At first, I didn't like rock music, but I soon grew to love it.

その少女は皿洗いは好きではなかったが何とか我慢した

The girl didn’t like doing the dishes, but she somehow managed to put up with it.