Centering elements within grid spaces

I’ve created a media query to change

 {display: inline-block}


@media (max-width: 940px) {
  #i-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr 1fr);
    grid-auto-rows: auto;
    row-gap: 30px;
    justify-items: center;
    align-items: center; */ 

The contents are refusing to center. Is there a way to display what is happening with the grid? it might be easier to solve if I could see what was going on

The full code is viewable at
New Homepage (