Question about sizing and Responsive Behavior

I’m having trouble understanding what responsive behavior can and cannot do. In all cases below I am using px* and not px.

I am working in Wix Studio, and some of my objects are not moving how I want them to within the breakpoint range. My “small laptop/large tablet” breakpoint is set to cover 1440 to 1025.

Using an editing size of 1440, I have a text box inside of a container, and I have chosen the height of container to match a photograph next to the text.

When I drop down to an editing size of 1025 the text box and the adjacent photograph resize differently and now the text extends well below the bottom of the photograph.

Is there any way to set specify the size, shape and location of something (in my case a container with a text box) at the 1440 end of the breakpoint and a different size, shape and location at the 1025 end of the breakpoint so that it says within those parameters as the window size is varied?

In other words, can I set the container be tall and narrow - say like a pack of cigarettes - up at 1440 and then shorter and wider - like a back of cigarettes on it’s side - down at 1025?

Thanks!

Marcia

Hi Marcia, short answer: inside one breakpoint, Wix Studio keeps a single set of layout rules, so you can’t set one size and position at 1440 and a different one at 1025. The element scales between those two widths using the rules you give it. What fixes your case is to stop giving the container a fixed height and let the content drive it. 1) Select the container and set its height to “Fit content” (hug) instead of a fixed px* value, so it grows with the text. 2) Put the text container and the photo inside a parent Grid or Stack and set both to stretch to the row height, with the photo set to Fill/Cover so it crops to follow the text instead of keeping its own height. 3) If the shape really needs to change (tall and narrow at the top of the range, wider and shorter at the bottom), add a custom breakpoint, for example at 1200, and set the layout there. That is the only way to get a second layout inside that range. Also give the text container a min-height rather than a fixed one, and check the text sizes at 1025 since larger fonts are usually what push text below the photo. If this helped, please mark it as Solved.