Site logo

Archived topic

Conditionally display header widget

3 replies · Started by maria on August 4, 2019

Viewing posts 1–4 of 4

I have a header widget that I'd like to display only on the desktop site. I know that I can use the Mobile Header feature to suppress the entire header, but I just want to suppress the widget. How can I do this?

Hi there,

try adding this CSS:

@media (max-width: 768px) {
    .header-widget {
        display: none;
    }
}

That worked, thanks.

Glad to be of help

This archived topic is closed to new replies.