# \[Pro\] Responsive Grid Layout

**URL:** <https://discourse.softpress.com/t/pro-responsive-grid-layout/22617>\
**Category:** Freeway\
**Created:** [September 2, 2015, 9:11am UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617 "2015-09-02T09:11:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave\_Dunning](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/e0b2c6/32.png) [@Dave\_Dunning](https://discourse.softpress.com/u/Dave_Dunning)\
**Post date:** [September 2, 2015, 9:11am UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/1 "2015-09-02T09:11:28Z")

</div>

Hi All

I stumbled across a thread from 2012 in which Tim Plumb gives an example of a grid based responsive site which is in answer to someone wanting to create a site similar to: [http://www.timboelaars.nl/](http://www.timboelaars.nl/).

This is just what I was looking for so I’ve put together a sample site based on Tim’s excellent template and all is working great so far, see link. However I would like the ‘boxes’ to act more like they do in the Tim Boelaars site - the width and height of the ‘boxes’ stay in relationship to each other so that the boxes get bigger or smaller proportionally as the browser window moves. No matter what I try I can only get the width to change so they end up getting ‘squashed’ horizontally.

Much banging of head on desk has led me to seek the advice of the more knowledgable folks here!! Is it possible to get it to do what I want?

Cheers  
Dave

[http://stundesign.co.uk/dartandness/](http://stundesign.co.uk/dartandness/)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [September 2, 2015, 10:54am UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/2 "2015-09-02T10:54:38Z")

</div>

What sort of content is in your grid? If it’s images, then you can do this by making the height of the grid boxes 0, using a percentage to define the padding-bottom, and setting the image as the background of he box with background-size set to cover. The percentage will be calculated from the width of the grid box, so as that shrinks, the height will shrink to match.

Walter

> On Sep 2, 2015, at 5:11 AM, Dave Dunning [email@hidden](mailto:email@hidden) wrote:
> 
> Hi All
> 
> I stumbled across a thread from 2012 in which Tim Plumb gives an example of a grid based responsive site which is in answer to someone wanting to create a site similar to: [http://www.timboelaars.nl/](http://www.timboelaars.nl/).
> 
> This is just what I was looking for so I’ve put together a sample site based on Tim’s excellent template and all is working great so far, see link. However I would like the ‘boxes’ to act more like they do in the Tim Boelaars site - the width and height of the ‘boxes’ stay in relationship to each other so that the boxes get bigger or smaller proportionally as the browser window moves. No matter what I try I can only get the width to change so they end up getting ‘squashed’ horizontally.
> 
> Much banging of head on desk has led me to seek the advice of the more knowledgable folks here!! Is it possible to get it to do what I want?
> 
> Cheers  
> Dave
> 
> [http://stundesign.co.uk/dartandness/](http://stundesign.co.uk/dartandness/)
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk](https://freewaytalk.softpress.com/person/options)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[https://freewaytalk.softpress.com/person/options](https://freewaytalk.softpress.com/person/options)

---

<div class="post-metadata">

**Author:** ![Dave\_Dunning](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/e0b2c6/32.png) [@Dave\_Dunning](https://discourse.softpress.com/u/Dave_Dunning)\
**Post date:** [September 2, 2015, 11:48am UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/3 "2015-09-02T11:48:55Z")

</div>

Thanks Walter. Yes each box will have a background image. I’ve tried your suggestion and I can’t get it to work, either the box won’t allow me to set the height to 0 or it just becomes 1px high and you can’t see the background image.

What settings should I have for the width and height of the boxes, currently they’re both ‘fixed’?

Dave

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [September 2, 2015, 1:39pm UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/4 "2015-09-02T13:39:36Z")

</div>

Set it to a fixed height (whatever looks right for layout purposes) in the Freeway UI, then use the extended/div style interface to set the height to zero and padding-bottom to (say) 33%. Fiddle with that value until the box is the correct aspect ratio.

Walter

> On Sep 2, 2015, at 7:48 AM, Dave Dunning [email@hidden](mailto:email@hidden) wrote:
> 
> Thanks Walter. Yes each box will have a background image. I’ve tried your suggestion and I can’t get it to work, either the box won’t allow me to set the height to 0 or it just becomes 1px high and you can’t see the background image.
> 
> What settings should I have for the width and height of the boxes, currently they’re both ‘fixed’?
> 
> Dave
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk](https://freewaytalk.softpress.com/person/options)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[https://freewaytalk.softpress.com/person/options](https://freewaytalk.softpress.com/person/options)

---

<div class="post-metadata">

**Author:** ![Dave\_Dunning](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/e0b2c6/32.png) [@Dave\_Dunning](https://discourse.softpress.com/u/Dave_Dunning)\
**Post date:** [September 2, 2015, 2:36pm UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/5 "2015-09-02T14:36:20Z")

</div>

Thanks I’ll try that later and see how I get on.

Dave

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![Tim3](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@Tim3](https://discourse.softpress.com/u/Tim3)\
**Post date:** [September 4, 2015, 10:02am UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/6 "2015-09-04T10:02:54Z")

</div>

Hi Dave,  
Here’s an updated example for Freeway 7 that uses the application’s responsive layout features and percentage based sizing to get you what you want;

> [@\[Pro\] This might be responsive....](https://discourse.softpress.com/t/pro-this-might-be-responsive/14571/13):
>
> For anyone following this thread I’ve updated the example gallery to work with Freeway 7. The dimensions are all now set as percentages so the images and margins all flex as the browser width changes. I’ve also adjusted the layout from 4 columns to 2 when the available browser width gets down to 768 pixels. The resulting layout should look a lot more like the original Tim Boelaars site ([http://www.timboelaars.nl/](http://www.timboelaars.nl/)). Example; [http://www.freewayactions.com/test/tim-boelaars-fw7/](http://www.freewayactions.com/test/tim-boelaars-fw7/) Freeway 7 file; …

Regards,  
Tim.

On 2 Sep 2015, at 10:11, Dave Dunning wrote:

> Much banging of head on desk has led me to seek the advice of the more knowledgable folks here!! Is it possible to get it to do what I want?

* * *

Experienced Freeway designer for hire - [http://www.freewayactions.com](http://www.freewayactions.com)

---

<div class="post-metadata">

**Author:** ![Dave\_Dunning](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/e0b2c6/32.png) [@Dave\_Dunning](https://discourse.softpress.com/u/Dave_Dunning)\
**Post date:** [September 4, 2015, 10:17am UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/7 "2015-09-04T10:17:07Z")

</div>

OMG Tim that’s perfect, I just couldn’t get it to work like that at all.

Many thanks to you and all the guys here that give your time and knowledge to help us lesser mortals out

Cheers  
Dave

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![carla](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/c/e9c0ed/32.png) [@carla](https://discourse.softpress.com/u/carla)\
**Post date:** [February 28, 2023, 8:43pm UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/8 "2023-02-28T20:43:33Z")

</div>

could someone send me the Tim Boelaars FW7 documentation that Tim Plumb sent us the link does not work… I have used it for a client but forgot one step… thanks all  
Carla

---

<div class="post-metadata">

**Author:** ![Jeremy](https://discourse.softpress.com/user_avatar/discourse.softpress.com/jeremy/32/2740_2.png) [@Jeremy](https://discourse.softpress.com/u/Jeremy)\
**Post date:** [February 28, 2023, 9:14pm UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/9 "2023-02-28T21:14:40Z")

</div>

> [@carla](#):
>
> the link does not work

@simonmanning: can we fix the link?

There is an “Extended Reference for Freeway 7” on the [support page](https://www.softpress.com/help/) of our website. This includes a “very brief getting started tutorial forworking with responsive layout”.

The key to creating a flexible layout in Freeway is to use CSS inflow boxes that have undefined widths. This is simpler than using percentage widths because the boxes will automatically take up the available space. Unfortunately, Freeway’s code for dealing with inflow boxes is sometimes buggy (save often). An inflow box is a box that is inserted in text-editing mode (when there is a text insertion point). Freeway doesn’t allow you to convert a non-inflow box into an inflow box or vice versa, but you can use cut and paste to get around this.

Creating a flexible website is much easier in Xway: boxes default to being flexible, and there is direct support for CSS Flex Layout.

---

<div class="post-metadata">

**Author:** ![carla](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/c/e9c0ed/32.png) [@carla](https://discourse.softpress.com/u/carla)\
**Post date:** [February 28, 2023, 9:52pm UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/10 "2023-02-28T21:52:40Z")

</div>

Thx Jeremy

This is an old FW Pro 7 site… I am not using Xway yet until it can accept FW docs… I have to use Parallels to continue working on old site which I hate frankly … but alas thats how it is… thanks all…C

---

<div class="post-metadata">

**Author:** ![simonmanning](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/s/c77e96/32.png) [@simonmanning](https://discourse.softpress.com/u/simonmanning)\
**Post date:** [February 28, 2023, 9:54pm UTC](https://discourse.softpress.com/t/pro-responsive-grid-layout/22617/11 "2023-02-28T21:54:34Z")

</div>

> [@Jeremy](#):
>
> @simonmanning: can we fix the link?

I’ve updated the link in Tim’s post above, now pointing at the corresponding post in Discourse.
