Blog
Setting Up Live Preview with Craft CMS in Headless Mode
Why I’m So Excited About Remix
What I Love & Hate About Tailwind CSS
As a long time skeptic of Tailwind CSS, I’ve finally given it a try and discovered some things I love and hate.
How We Prevent Leaky Templates in Craft CMS
Prevent the flood of leaky templates in Craft CMS with just a little bit of PHP.
Level Up with Craft CMS: Know When to Ditch Twig
If you notice your Twig templates are getting overly complex, it may be time to extend Craft with a custom Module.
Why You Should Update to Craft 3 ASAP
Updating to Craft 3 means new features for your site with improved performance and security. This latest version was released earlier this year, and you should update as soon as possible!
Managing CSS & JS in an HTTP/2 World
We have been hearing about HTTP/2 for years now. We've even blogged a little bit about it. But we hadn't really done much with it. Until now. On a few recent projects, I made it a goal to use HTTP/2 and figure out how to best utilize multiplexing. This post isn't necessarily going to cover why you should use HTTP/2, but it's going to discuss how I've been managing CSS & JS to account for this paradigm shift.
Craft Color Swatches Plugin
The control that Craft can provide a user is what makes it stand out as a content management system. But sometimes we want to limit what a user can choose from. Craft has a built-in Color field which allows a user to select any color from a color picker. There are times when we only want a user to choose from a select number of colors though. Previously we have done this by using a dropdown with a list of colors, but I decided to build a plugin to allow a user to select from an admin-defined set of colors.
Responsive Images with srcset & Craft
Tommy recently wrote about responsive background images in Craft, but I wanted to follow up about how we used the <img>
element and srcset
to build responsive images on this very site (powered by Craft).
Pending User Plugin for Craft
On a recent project that was built on Craft, I finally got the chance the kick the tires on building a members-only section with Craft. Out of the box, Craft provides so much user functionality, but the user moderation process wasn’t exactly what the client wanted. Luckily, Craft provides us with the ability to change that process with ease.