The magnetic field on the ring has two components. The horizontal component of the magnetic field contributes to upward vertical force such as to balance its weight.
Hope you find it useful. Cheers!!!!!!!! @@@ !!!!!!!!!
Always available for help !
But Remember Don't hesitate to ask a good Question but
Be damn serious for Questioning a weak one.