Mike Fallows, designer and web developer
Well, you’re here now
Assorted notes on the internet about caddy, ci, composer, css, dns, eleventy, email, esbuild, github actions, javascript, laravel, node, php, responsive, shopify, testing, the web, vite and web components.
Latest writing
- Adding an SVG favicon with dark mode support• 4 min
Updating my favicon and adding support for dark mode.
- Optimising CSS minification in Liquid• 5 min
Optimising a technique to use Liquid to minify CSS code for performance in Shopify themes.
- Avoiding a DOMContentLoaded gotcha with readyState• 2 min
I recently hit a race condition when a script was loading faster in some browsers.
- Prefill a Shopify discount with the Fetch API• 2 min
Set a prefilled discount in checkout with a fetch request.
- Implement a low stock notice in a Shopify theme• 5 min
A simple way to display a notice when the selected variant has a stock quantity below a specified value.
Popular posts
- Observing cart changes in a Shopify theme• 8 min
Identifying and responding to changes in a customer's cart.
- Adding a `robots.txt` file to an Eleventy site• 4 min
Keep Search Console happy about your Cloudflare and Forestry URLs.
- Laravel Sail, Vite and SSL with a custom domain• 4 min
Set up Sail and Vite to develop locally under HTTPS using Caddy.
- Making a Shopify Theme App Extension for Google Site Verification• 6 min
Whipping up a quick Shopify app to take advantage of the new theme app extension feature.
- Using PostCSS and Autoprefixer with esbuild• 3 min
Updating an esbuild config in a Shopify theme to utilise autoprefixer.
- Responsive images in Shopify themes• 8 min
Current solutions to handling responsive image formats in Shopify.
More in the archive.