How can I adjust the promotion grid to 50% width on mobile view?

hi,

anyone know how I can change so this promotion grid becomes 50% width and will stand on same line as on my desktop view?

Desktop view
Two last pictures are next to each other

Mobile version
I would like the two bottom pictures aligned as above on desktop version (next to each other)

Url: https://mctasker.dk/
Using impulse theme

I hope you are looking for this

Add below code via custom css, you can get help from tutorial.

.flex-grid__item--50 {
    width: 50%;
    flex-basis: auto;
}

where is the css?

1 Like

HI @ddcu

This is David at SalesHunterThemes.

Thank you for your question.
Follow this path:

Themes => edit code => asset => theme.css

and add this code to bottom of the file theme.css

@media only screen and (max-width: 589px){
.promo-grid .flex-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.promo-grid .flex-grid .flex-grid__item {
    grid-column: span 2;
}
.promo-grid .flex-grid .flex-grid__item ~ .flex-grid__item {
    grid-column: span 1;
}
}

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

David | SalesHunterThemes team

1 Like