How to Get the Most out of the Timber Theme Framework

How to Get the Most out of the Timber Theme Framework

Timber Shopify Framework

If you are passionate about building beautiful, highly functional Shopify themes, Timber is your best friend. Shopify’s theming principles are by no means a major divergence from other forms of web development, but using a framework that has been specifically designed from the ground up to suit the Shopify environment makes absolute sense.

Getting started with Timber is super easy. Working with it is a breeze, and extending it with your own creative elements is really satisfying. Personally, I‘ve had a lot of fun making creative elements to build on the core framework. Today, I wanted a way to share those elements with everyone else in the Shopify development community.

My team at Elkfox recently started a project to share useful elements with the Shopify theme developer community. We are calling this project “Twigs for Timber.” (Hilarious, right?) Over time, we hope to continue to share the elements we use regularly in custom Shopify themes. Most of these elements are things Shopify clients ask for every week. Some will be added just for fun.

You might also like: An Overview of Liquid: Shopify's Templating Language

Why start with Timber?

Timber was created with the core elements needed for the vast majority of Shopify themes. That is a big part of its beauty. Many web frameworks have become extremely bloated and require major customization to make them as light as they should be for the modern web.

Timber takes a much cleaner approach, allowing you to extend your build with the plugins and code you like to use.

Timber Shopify Framework: Theme Design

Using Timber makes you a better front-end designer

Whether you are developing a custom theme for a client or for the Theme Store, Timber is the perfect starting point. For me, it has been a liberating force. It has freed up my time, allowing me to focus on more creative aspects of design.

Using it even led to me abandoning my “Shopify Theme Framework” based on Foundation by Zurb (an honest big fat sorry to active users of this resource!), and turn toward developing handy add-ons to extend Timber instead.

Rapidly create amazing things

At Elkfox, we use Timber for almost every site we build. We have a workflow in place that allows us to quickly go from concept to product using tools that are freely available to any web designer/developer working with Shopify.

Our basic toolkit looks something like this:

  • Shopify Desktop Theme Editor (command line): for syncing the local development with the remote site
  • Bitbucket: for managing version control
  • Github Desktop: for a neat GUI for version control
  • Code editing software (I personally prefer Coda, despite how unfashionable that may be)
  • Github: For loads of awesome resources to pimp out your designs
  • Twigs for Timber: For quick snippets I regularly use in themes

It’s really as simple as that. I use a nice big 5k screen that has ample space to position my code editor and live browser side by side. I even have space left to watch as the Shopify Theme Tool pushes my code changes up to the Shopify servers.

Timber Shopify Framework: Timber Workflow

You can also gently reload your theme on the live site every so often using meta refresh, if you are into that kind of thing. Personally, I quite like manually refreshing the live theme when I reach a certain number of easily trackable changes.

Extending your toolkit

One of the really cool things about Timber is that it utilizes the core principles of modern, column-based web layouts really well. This makes it easy to create code that can be easily dropped into where you want it, in a modular way, without dirtying up the code. Front end language files, Sass/CSS, Javascript and snippets are all presented in a logical way that is easy to extend.

Since I started using Timber, I have found myself creating a plethora of Gists that I regularly use in custom themes. From recent news layouts to Instagram feeds, these Gists can be thrown straight into Timber and then styled appropriately. This method not only saves time, but improves consistency and makes troubleshooting a breeze.

"Twigs for Timber"

I developed the “Shopify Theme Framework” in my early days of working with Shopify theme development to make my life a little easier. Once I started using Timber, my time was freed up further, and I was able to spend more time developing mini extensions instead.

That has allowed us to spend some time on "Twigs for Timber,” a collection of useful bits and pieces for every Shopify theme developer to use. Over time, we will be carefully organizing these assets and uploading them to the Twigs for Timber website for everyone to use for free.

Moving ahead, fostering community

Timber Shopify Framework: Twigs

A few “twigs” have been uploaded already, and I have quite a number of other assets almost ready to be shared. I hope we can foster a community around Timber and Twigs, to the point where members share their useful code with others.

The first one we shared was a simple animated testimonial showcase, created using a jQuery carousel slider, a blog article loop, and some simple grid markup. The assets are ready to download and insert straight into your Timber theme. You can also follow these assets on the Github repository.

I hope you find these assets useful, and that you enjoy working with Timber and Shopify as much as I do. If you haven’t yet created your first Shopify theme, there has never been a better time to get started!

Please let me know what “twigs” you would find most useful in the comments below. And if you have any twigs to offer the community, please don’t hesitate to get in touch!

You might also like: Why We Created Timber, Shopify’s Theme Framework (& Why You Should Use It)

About the Author

Cam is a designer, developer and producer from Melbourne Australia, and founder of Elkfox, a digital media firm with a strong focus on working with Shopify.

Grow your business with the Shopify Partner Program

Learn more