FlexGrid and responsive picture?

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
sieweb
 
 
Posts: 27
Joined: Fri Oct 20, 2017 8:07 pm

FlexGrid and responsive picture?

Post by sieweb » Thu May 10, 2018 7:17 pm

Hi,
if I put a picture into a flexgrid cell, set full width = true and maximum width to 800 px, the result in the preview is a native and static picture.
If I use a LayoutGrid in the same way, it becomes responsive.
Is this as it should be?

User avatar
Pablo
 
Posts: 13582
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: FlexGrid and responsive picture?

Post by Pablo » Thu May 10, 2018 8:46 pm

The behavior of objects in a flex grid (and flex container) is controlled by flexbox properties. 'Full width' does not have meaning in flexbox.

To make an image (or other object) flexible you will need to set the 'flex grow/shrink' properties.
http://wysiwygwebbuilder.com/flexbox.html

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests