Site logo

Archived topic

padding when toggled on

1 reply · Started by Diego on May 28, 2019

Viewing posts 1–2 of 2

Hello!
I would like to add a padding top only when the toggled menu is active.
When the toggled menu is deactivated I would like to remove the padding.

The padding which I need to set is:

.elementor-widget-wrap {
padding-top: 360px;
}

Please, could you help me?

Regards,

Diego.

Hi there,

you could try wrapping your CSS in media query like so:

@media (min-width: 768px) {
    .elementor-widget-wrap {
        padding-top: 360px;
    }
}

Then the CSS will only apply on the larger screens.

This archived topic is closed to new replies.