How to make the video and picture from the index page resize in mobile?

Home Forums Porto – Responsive HTML5 Template How to make the video and picture from the index page resize in mobile?

  • This topic has 1 reply, 2 voices, and was last updated 3 months ago by Support. This post has been viewed 241 times
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10045276
    franllan
    Participant

    Hello
    I hope the team is doing well.
    I would like to ask How to make the video and picture from the index page resize in mobile?
    The video/image is resized when seeing it in a computer but in a mobile the video is not resizing so the full size of the video is not showing.

    BTW I love porto! thank you for making such great template!


    #10045277
    Support
    Keymaster

    Hello, my suggestion is to add the following css for that:

    (css/custom.css)

    @media (max-width: 991px) {
    	section.video {
    		height: auto !important;
    	}
    	
    	section.video video {
    		max-height: 450px !important;
    	}
    }

    Kind Regards.


Viewing 2 posts - 1 through 2 (of 2 total)

This topic is marked as "RESOLVED" and can not rceive new replies.