Calculate how much liner you'll need.
Remove everything from the shelves.
Clean shelves with a cloth and warm water. Let it dry completely.
Place shelf liner face down on a solid surface.
Mark the area to cut.
Cut your liner according to the marks you made.
Place the liner on the shelf.
Mark any notches that you may need to cut further and trim any areas to make a secure fit.
Place liner on your shelf and restock your shelves.