My leopard gecko has not eaten for almost 4 weeks and every time I offer food she runs the other way. She is still active but recently has been having green feces. I don't know what to do and would really appreciate any help I can get.
Seems like your gecko might have a bacterial infection or a parasite. I recommend taking a stool sample to the vet and having it tested. They will likely offer oral medication for your gecko.
That is likely the cause for her lack of appetite.