Hello again and thank you for clarifying the situation.
To obtain court ordered parental rights as well as custody/visitation rights, one would typically file a petition to establish paternity
rights with the local family court
where the child resides.
The petition should be personally served on the opposing parent typically so they have an opportunity to respond and defend in the matter.
If they do not respond, then the petitioning parent may seek a default judgment for the relief they were requesting. If the opposing parent does respond, then the matter will typically be set for a hearing or mediation, depending on the circumstances.
Here is a link to the IL legal aid website, which provides forms to get started after you enter the zip code of the child's residence:
Once custody/visitation is established by court order, neither parent will be able to refuse the time provided for with the child in the court order without risking being held in contempt of court.
I hope this helps clarify the situation for you. Please remember to rate my service once you have all the information you need. If you have any other questions, please ask me – I’ll be happy to respond. Thank you!