Download the AdBlock extension.
This extension is designed to block advertisements on websites, and will block all of the banner ads that appear on your Yahoo! Mail inbox. Click the Chrome Menu button (☰). Select "More tools" → "Extensions". Click the "Get more extensions" link at the bottom of the page.