If your hardware store does not have the correct size, buy a longer bracket and cut it to fit.

If you are using this technique for a non-wood structure, you can skip this step or paint the wood to match your particular shelf.