Video and Imgs break through container in mobile view

Discussion in 'Figero WordPress Theme' started by jamalbey118, Aug 29, 2014.

Thread Status:
Not open for further replies.
  1. jamalbey118

    jamalbey118 New Member

    Joined:
    Aug 20, 2014
    Messages:
    12
    Likes Received:
    0
  2. jamalbey118

    jamalbey118 New Member

    Joined:
    Aug 20, 2014
    Messages:
    12
    Likes Received:
    0
    Btw, Im trying to use this css but not having any luck

    @media only screen and (max-width: 480px){
    .wp-video {
    width:100%
     
  3. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,

    Please paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    .content-main.fullwidth img {
    max-width: 100%;
    height: auto;
    }
     
    .mejs-container video {
    max-width: 100%;
    }
    You don't need to use @media only screen.

    Thanks & Regards
    Pramod
     
  4. jamalbey118

    jamalbey118 New Member

    Joined:
    Aug 20, 2014
    Messages:
    12
    Likes Received:
    0
    worked perfectly! Thanks a lot!
     
Thread Status:
Not open for further replies.

Share This Page