Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1061781

    Hi,
    Is it possible to create a footer and footer widgets that only display for mobile? The regular desktop version is a two column footer and I would like the mobile version to show two columns but different widgets.
    Thanks.

    #1061815

    Hey connect4consulting,
    Thank you for the link, currently it looks like for mobile you are showing two columns, so the only change is to show different widgets for the mobile versus desktop, which can be done easily with css by including all on the widgets in the footer and hiding them based of screen size using media queries. Here is an example:

    @media only screen and (max-width: 767px) {
    widget_1 {
    display:none!important;
    }
    }
    
    @media only screen and (min-width: 768px) {
    widget_2 {
    display:none!important;
    }
    }

    In this code we would change the “widget_1” & “widget_2” with the actual classes of your widgets, which we would need to see.
    Alternatively you could use the plugin Widget Options to choose what devices, and pages to show your different widgets.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.