Card Image mBox
LayoutThe two column gird has an image and a text block with a heading, optional span, text and an optional link.
The image is the trigger to open the modal with an image inserted in two sizes.
The two column gird has an image and a text block with a heading, optional span, text and an optional link.
The image is the trigger to open the modal with an image inserted in two sizes.
The ThemeKit Card mBox widgets open modals with an image, slideshow, MP4 video and YouTube video.
The card itself has the option to have a slide up in view animation.
The cards have …
The modal items have controls to add a border and/or a bottom box shadow. The overlay background has aa control for opacity.
The modal can be closed using the close tab or by clicking/tapping the overlay.
The video is lazy loaded and inserted in two sizes for computer and small mobile devices.
Video will is less likely to effect the page download speed if it is offscreen on page load and has a lazy load function.
Video players have a lot of assets which will download even if the visitor doesn't play it unless this is prevented and lazy loading is used.
Self hosted MP4 video is much better than using hosted video such as YouTube. On a responsive website video files MUST be inserted in two sies for computer and smaller mobile devices.
The player above uses an HD file 854 × 480px with a file size of 9.7MB. The SD version is 426 × 240px with a file size of 4.9MB.
The image is shown with the optional two color background gradient and has 20px padding added.
Hosted video like YouTube is not the best way to insert video in a responsive website. If it is used it is inserted using a widget with a lazy loading function.
If a video is only available on YouTube, convert it to MP4 using an online converter and download it in two sizes for self hosting.
MENU