Bigger Mobile Images

Bigger Mobile Images en-US

Installations 17 Likes 1

Do you look at your Kanka campaign on mobile? Do you have to squint to look at the entity images? Well, no longer! Embiggen your images on mobile! This little plugin will turn your pictures from TINY to LARGE. Both regular entity images and banner images are transformed to take up more space so you don't have to put on your fancy monocle any more.

You can adjust the size of the images using CSS variables in your campaign theme:

.entity-grid { --image-width: 100%; --padding-height: 85%; }

By default, images are set to take up the full width of the screen. Change --image-width if you want them to appear smaller (or even bigger). If you want more space between the image and the header text, increase the variable --padding-height. To match colors, this theme uses Kanka's own variables: --breadcrumb-text, --header-text and --link-text.

Works for device width up to 576px.

Latest version 1.1

Released 1 year ago

Version 1.1 - Updates to Kanka replaced the normal image with a tiny 100x100 thumbnail on smaller viewscreens, which doesn't look so good resized with this plugin. So it's been updated to use the regularly sized image instead.