DS was 26 mos when he weaned. I'd already stopped nursing him to sleep a couple of months before because I was finding that he was rolling over and putting himself to sleep anyway.
Initially we made a 'special treat' of hot chocolate and a cookie at bedtime which he loved. Lots of books and I would say, 'no nips only books and lots of cuddles'.
Then he was still occasionally having 'nips' (his word!) if we were home for naptime but he was fighting the nap. So I'd try and be out at naptime so he'd fall asleep in the stroller. This was the summer! Now it's winter, nap is gone unless we're in the car which is rare.

The last nursings to go was nightnursing. I had become aware that I was waking him up with the 'promise' of my milk. So we talked about how much I loved him and would always kiss and cuddle him but nips were empty. Then one night he woke and I just repeated, 'no nips. just cuddles'.
He cried a bit but no where near as much as I thought he would. After a couple of nights he stopped waking. Now he sleeps 11hrs straight.
I know that it's hard to see how you can wean when they are so attached.
I knew I had to do it in order to be a better Mom in the day, I was so sleep deprived and grumpy.
Good Luck!