web counter
Intrinsic: Building a Responsive Layout
My Image

All the latest RapidWeaver Stacks reviewed,
plus the most important community news …

Stay up to date with current RapidWeaver developments

Intrinsic: Building a Responsive Layout

You just purchased Intrinsic from S4S and are going to build a killer layout!
But wait, that looks a lot more complicated than you thought it would!

I assure you it isn’t; Here’s a layout that I put together quickly to demonstrate how Intrinsic works…

We’re building for the modern web – right? So what did we learn just last week?
Mobile First!

Let’s build a project together…
Drag an Intrinsic stack into your stacks page and begin filling it with content.

In my project, I have a header stack — an image with a title and a menu bar. I added the image as a background image to a Sections Pro stack and the title in a Sections Box. The menu is below the sections box and I dropped the lot into an Intrinsic Grid Item. Problem number one!
 The Intrinsic stack already has a background colour defined. Two backgrounds won’t work. If you wish to see your Section, you’ll need to deactivate Intrinsic’s BG in the main stack!

Once that’s done, you’ll notice that Intrinsic also has 0.75rem padding on all sides. We want our banner image to be full width, so the padding will have to go!

Next up, in a Grid Item that I’ve given the ID h1, I’ve added a Grummage stack with a Header stack, and a 2 column Grummage containing paragraph stacks.
The Grummage stack reduces our Intrinsic content to the site width defined in the Foundation setup.

I’ve then added the following Grid Items and filled them : for paragraphs one to four with the IDs p1 — p4. For images i1 — i4. In the I Grid items I’ve added a text stack for the caption — set to align at the bottom of the Item and I’ve added a background image via the Fill Style dropdown.

Now comes the Grid Item for your footer.

The preview will still look chaotic because we haven’t added a layout yet!

In Grid Template areas, we now need to add the following:
'header'
'h1'
'p1'
'p2'
'p3'
'i1'
'i2'
'p4'
'i3'
'i4'
'footer'
If you now preview, you’ll see that the mobile layout is almost finished. There’s just a tiny problem with the height of the images.
The problem arises because we haven’t given the rows a height. That’s fine for the text content – ‘auto’ works just fine, however it doesn’t work for the image items which only contain a caption with a BG [image], but the BG height hasn't been defined..
This means that we now have to set the size for each of the rows in our layout. 
The first five rows work just fine with auto, so we can add “auto auto auto auto auto “ to set the height. Make sure there is a space between each one.
We want our images to have a min height of 300px on mobile. The max height can be set to “auto”, so now we add FOUR instances of “minmax(300px,auto)”.
Once again – don’t forget the space between each ‘row’.
 Now add “auto” (with spaces) between the first two images rows for the headline ‘p4’ and once again at the end for the footer.
And Voila! We have a simple Mobile layout!

Our content is all in place, so all we need to do now is add a layout description for screens larger than 640px or 768 px (up to you). 
We want the images spaced around the header ‘p4’, so In suggest you grab a piece of paper and draw the following:

Intrinscic – Stacks4Stacks – scheme

This shows you your layout scheme…
So now we can begin work. Our layout has three columns.
The Header and the Grummage with the two columns should fill the layout width, so for them we add:
‘header header header’
‘h1 h1 h1’
This tells Intrinsic that the two Grid items span all three columns.
Now we add a new line:

‘p1 p2 p3’
to place those three items in the same row.
For our four images and header, we just worked out on paper that we need :
'i1 i1 i2'
'i3 p4 i2'
'i3 i4 i4'
And to complete the layout we need:
‘footer footer footer’
Don’t forget any of the spaces OR the single quotes, or you layout won’t work!
Once again we need to format the row height to accommodate the images.
This time we have fewer rows because p1,2 and 3 are displayed on the same row.
The images can be larger to, so this time we remove the ‘auto from the Grid Row Height and add:
auto auto auto minmax(400px,auto) minmax(400px,auto) minmax(400px,auto) minmax(400px,auto) auto
Your desktop layout is now more or less complete. If you go through the Grid Items one by one, you can now add background colours, add, or remove padding and take a look at the options in general – there are many, but now, at least we have a responsive layout.

And now you've come this far, you can define a layout for a third breakpoint.
Quickly sketch out on paper just how you'd like it! Have fun!

BTW – If you visit this page with what you’ve just learned, you’ll find a few more helpful tips.
I know, if you suffer from code phobia like me, it looks scary, but I assure you — after the work you just did, it isn’t!

Please note that DISQUS operates the forum below.
When you sign in to comment, RWNinja will provide your email, first and last names to DISQUS. That information, along with your comments, will be governed by DISQUS’ privacy policy. By commenting, you are accepting the DISQUS terms of service.
blog comments powered by Disqus
Please note that the forum is operated by DISQUS.
When you sign in to comment, RWNinja will provide your email, first and last names to DISQUS. That information, along with your comments, will be governed by DISQUS’ privacy policy. By commenting, you are accepting the DISQUS terms of service.

Links to the developers ® All trademarks cited on this page are the property of their respective owners.

Subscribe to Ninja News
or ask a question

Hi, I’m the Ninja Bot. What’s your name?
image/svg+xml
Nice to meet you, [1-1]. Could you tell me your mail address?
image/svg+xml
[1-1], would you like to subscribe to the monthly Ninja Newsletter?

Yes, I would like to receive your monthly newsletter.

No thanks, I’m good for now. I have a different issue.

image/svg+xml
Thanks for your support, [1-1]. Is there anything else I can do for you?
image/svg+xml

[1-1], thanks for subscribing.
By clicking 'Submit', you are giving your consent to having rjh-webdesign collect your name and email.
These details are used exclusively for the newsletter and will not be passed on to third parties!

As soon as I've added you to the mailing list, you'll receive a mail asking you to confirm your subscription.

If you made a further request, I’ll get back to you – typically within 24 hrs.

image/svg+xml
Name: [1-1] [1-2]
Email; [2]

Contacted you via the Siphon form at Ninja News.

I would like to subscribe to the Ninja Newsletter

Message

[4]
I’m sorry to hear that, [1-1]. How may I help you then today?
image/svg+xml

[1-1], thanks for contacting me. I’ll review your mail, and get back to you – typically within 24 hrs.

image/svg+xml
Name: [1-1] [1-2]
Email; [2]

Contacted you via the Siphon form at Ninja News.

I don’t want to subscribe to the Ninja Newsletter right now.

Message

[6]

Thanks again for contacting us. Your request was successfully submitted.

  • Stacks Image 76789
  • Stacks Image 76774
  • Stacks Image 76776
  • Stacks Image 76783
  • Stacks Image 76791
  • Stacks Image 76787

Looking for Inspiration?

Looking for Inspiration for a new site, or need a CTA
really quickly?

The Latest & Greatest

Soundboard for RapidWeaver
If Weavers wish to add a series of audio clips to their pages, they could obviously use a ...
Kalendar for RapidWeaver
Websites that display calendars have two core functions: They show upcoming events and they ...
Filter Grid for RapidWeaver
There are a couple of stacks available that will filter RapidWeaver content; some more, some less ...
  • Do you have a question regarding RapidWeaver?

  • Would you like help with your new project?

  • Would you like us to build your new RapidWeaver website?

Contact Information

rjh logo

rjh web design

265 Moo 2
Mae Na Toeng Nai, Pai
Mae Hong Son
Thailand 58130

About Us

We design websites and print-products for small businesses at reasonable prices. We specialise in Responsive Web Design.

Legal

This site uses Cookies to determine the best method of display in combination with your browser.
We do not harvest or sell personal information.
© rjh web design 2010—17

Powered by rjh-design

This website was built with loving care on a Mac using Foundation. For more information, contact me.

Don’t miss a post!

Sign up for our monthly newsletter.

A monthly digest of all the latest updates from our RapidWeaver blog, keeping you up to date with the hottest new stacks and themes.

View previous campaigns.

By clicking 'Submit', you are agreeing to receive emails from Ninja News

Our newsletter is distributed via MailChimp, who is also responsible for maintaining our mailing list. You can read their privacy policy here.

Subscribe to the Ninja Newsletter

* indicates required

Subscribe to the Ninja Newsletter

You've reached the bottom of the page, thanks for reading.

If you enjoyed what you read, you can subscribe to the Ninja Newsletter and receive a review summary once a month.

Thanks for your subscription

We shall send you a summary of the Ninja News reviews once a month.
We do not send out any other mails and we shall not, under any circumstances, share your email address with third parties.