• I am trying to set up my own wordpress website and have a couple of questions.

    At the moment I show a background video on the homepage. I am wondering if it is possible to replace this video with an image slideshow on the mobile view?

    Also, how can I generally show different content on desktop/mobile view?

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • You can use css to control the display of content;

    for example, if you publish and video and slideshow in a specific widget or page, you can write css rules to show or hide the content based on screen width.

    eg,
    @media only screen and (max-width: 1023px) {
    .slideshow {display:none;}
    .video {display: block;}
    }

    @media only screen and (max-width: 400px) {
    .slideshow {display:block;}
    .video {display: none;}
    }

Viewing 1 replies (of 1 total)

The topic ‘WordPress responsiveness and content for mobile’ is closed to new replies.