set style rule for favs class