Step 1: Copy target layout from plugins/the-post-grid/lib/templates/layouts/layout_no
If you use pro plugin also then copy layout from plugins/the-post-grid-pro/lib/templates/layouts/layout_no
Step 2: Paste it in following directory themes/child-theme/the-post-grid/layouts/
Step 3: Then modify the template