For the gallery post, the code is going to be a little different. We will start with the content-gallery.php page.
Let's just take a look at our index.html page that we created in the earlier section. Similar to the index.html page, we will add a 4-column <div> in the content-gallery.php page. We will give <div> a class of w3-col m4 l4 pic as shown here:
<div class="w3-col m4 l4 pic">
</div>