Responsive Video Poster Image

Discussion in 'Integration' started by linguaspectrum, Apr 6, 2019.

  1. linguaspectrum

    linguaspectrum Online English Teacher

    Joined:
    Apr 25, 2009
    Messages:
    47
    Hi,
    How do I go about making the video poster image in the membership account page responsive?
    The video player itself is responsive, but the poster images don't resize according to screen size.
    I guess there must be a CSS answer to this and I'd appreciate any help anyone could provide.
    Many thanks
    Richard
  2. linguaspectrum

    linguaspectrum Online English Teacher

    Joined:
    Apr 25, 2009
    Messages:
    47
    I figured it out. I added the following code:

    .am-video-poster img {
    transition: transform .5s;
    max-width: 100%;
    }

    to the theme.css in my custom theme public/css folder.

Share This Page