Hi and welcome.
Not sure if you are having a problem with your little girl as you say you took her to training classes but they didn't work.
This site is very helpful if you have any questions don't hesitate to ask.A lot of people on here with a wealth of knowledge about yorkies.