Code I use on real WordPress sites, written up so you can use it too. Responsive layouts with CSS Grid and Flexbox, an accessible navbar, an email sign-up modal that doesn’t annoy people. Most posts come with the full code and a working demo, so you can skip straight to the finished version if you’d rather.
I build custom themes by hand, without page builders. So these lean towards plain HTML, CSS and a little JavaScript, not another plugin. For speed fixes, see Performance & Core Web Vitals, and for the decisions that come before any code, Design & Planning. If something here doesn’t work on your site, or you’d rather hand the job over, drop me a message.

Build a Responsive Navbar with Flexbox: an accessible, mobile-first pattern

For good reason A responsive navbar with Flexbox should be simple to scan, easy to operate on mobile, and friendly to screen readers. This pattern gives you a clean, accessible header that collapses to a tidy mobile menu with a small, smooth animation. No libraries. Minimal CSS. A dash of JavaScript to toggle state correctly.If...

Read More: Build a Responsive Navbar with Flexbox: an accessible, mobile-first pattern