set custom styles and check if exists