pics in footer do not scale
Hello,
i have a footer-layout 1/4 1/4 1/4 1/4.
When i put a pic inside one of these colums, the pic doesn't stays inside the 1/4, it shows in original size.
The text grows and shrinks with the columns, but the pic not.
In Visual Composer e.g. a pic (attribute "FULL") is always shrinking to the size of the column.
In footer this doesn't work. But i need this, because i can't scale the pic beforehand, because it will not be responsive then on other devices.
Can you help me?
Thanks!
Best Regards
Steffen
i have a footer-layout 1/4 1/4 1/4 1/4.
When i put a pic inside one of these colums, the pic doesn't stays inside the 1/4, it shows in original size.
The text grows and shrinks with the columns, but the pic not.
In Visual Composer e.g. a pic (attribute "FULL") is always shrinking to the size of the column.
In footer this doesn't work. But i need this, because i can't scale the pic beforehand, because it will not be responsive then on other devices.
Can you help me?
Thanks!
Best Regards
Steffen
Comments
did you set scale-with-grid class for those pictures?
no, i use a shortcode from "WP Video Lightbox" in one of the footer columns.
This shortcode plays a youtube-video and the picture is only the placeholder.
I use a text-widget in footer with this argument:
[video_lightbox_youtube video_id="YOUTUBE_VIDEO_ID" width="960" height="720" anchor="/wp-content/uploads/2016/12/play_video.jpg"]
The result is a picture showing in the footer and if you click on that picture a modal window is opening and playing the youtube-video.
The problem is, that this placeholder-pic is not scaling with the grid.
How can i solve this problem?
Thanks!
How would this complete text-widget look like then?
What do i have to write in there in total?
[video_lightbox_youtube video_id="YOUTUBE_VIDEO_ID" width="960"
height="720" anchor="/wp-content/uploads/2016/12/play_video.jpg"]
+ what ??
I will contact the author.
Do you maybe know a way for your theme to put a RESPONSIVE pic into one footer column that is only a placeholder and with click on it a youtube-video is being played in a modal / popup window?