Tutorials
Color-Mix
A new CSS property (with great browser support as of Feb 2025) makes it easy to programatically set modified color values, even when working with hex codes. As usual, Kevin Powell covers it masterfully.
Focus by Negation
Cool tip by Kevin Powell to focus on an element by downplaying others.
A Better 404 Page with Related Post Suggestions
My challenge today is building a 404 page for a large blog about retirement investments. This site has over 500 posts in 13 major categories, so it’s a safe bet that there is something on the site that is relevant to most searches. We know that GeneratePress can do Related Posts, and we know that …
Toggle the display of GPP Elements from an ACF Options Page.
This was originally titled “Adding an Info Bar to top of a site v.2” because we are building on that tutorial’s example, but then I realized this tip’s power is really in the ACF control manipulating a GPP Element, not so much the Element’s job (ie, Info Bar). BTW, if you’re interested in adding an …
Add an Info Bar across the top of a site
You’ve seen these before. An Info Bar is used for time-based notices like sales, expiring coupons, changes of physical store hours. GeneratePress Premium makes it easy to add these to your site, either site-wide or targeted to specific pages, specific posts, specific products, tag groups, categories, logged-in users, logged-out users… you get the idea. Method …