Welcome to Yorkietalk.
What kind of thyroid problem does your Riley have, hypo or hyper? Another possibility for the skin condition could be the hair products you use or inadequate rinsing of shampoo. What brand shampoo do you use? Be sure to rinse very, very thoroughly.