# Stack cards vertically on mobile (Grid layout)

**URL:** <https://community.elfsight.com/t/stack-cards-vertically-on-mobile-grid-layout/175313>\
**Category:** Job Board\
**Created:** [September 28, 2026, 11:32am UTC](https://community.elfsight.com/t/stack-cards-vertically-on-mobile-grid-layout/175313 "2026-09-28T11:32:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 28, 2026, 11:32am UTC](https://community.elfsight.com/t/stack-cards-vertically-on-mobile-grid-layout/175313/1 "2026-09-28T11:32:46Z")

</div>

Add this code to the Custom CSS field on your [Job Board](https://elfsight.com/job-board-widget/) widget’s Appearance tab:

```auto
@media (max-width: 480px) {
[class*="Grid__GridContainer-sc"] {
grid-template-columns: 1fr !important;
}

.es-widget-background-wrapper {
padding: 10px !important;
}
}

```
