Here is an example:
"I wanted to thank everyone for the cards, gift and thoughts when my mother/father or grandma.. passed away. Knowing that so many people care and are thinking of me and my family during this time makes getting through this a little easier. Thank you. "
As you know do not make it look fancy.