Site logo

Archived topic

change margin between footer widgets but only on mobile view

3 replies · Started by Adriene on November 11, 2018

Viewing posts 1–4 of 4

Hi David,

I tried to make this work and I read a lot on the forum but I didn't find the answer so I hope you can help me.
I want to make the margin smaller between the footer widgets but only on mobile view. I have 3 widgets and now there is a lot of space between them which means more scrolling.

Hi there,

you can try this CSS:

@media (max-width: 768px) {
    .inside-footer-widgets>div:not(:last-child) {
    margin-bottom: 20px;
    }    
}

Hi David,

that worked! thank you so much.
best regards Adriene

You're welcome, glad i could help

This archived topic is closed to new replies.