My baby doesn’t go to sleep well at night

Dee

My 7 month old naps very well majority of the time during the day but in the past two months at bedtime she whines and doesn’t want to go to sleep it takes me and /or my husband like two hours to put her to sleep. We have humidifier in her room and soft music she likes in background and she just doesn’t like nighttime for some reason. Has anyone else had this issue and what did you do to help them sleep?