.home-top .widget-wrap { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 30px; } @media only screen and (max-width: 860px) { .home-top .widget-wrap { grid-template-columns: repeat(2, 1fr); } } @media only screen and (max-width: 480px) { .home-top .widget-wrap { grid-template-columns: 1fr; } }