Tech Blog

Web development tips, tricks and tutorials for web developers of all levels.

Selectively disable image lazy loading in WP 5.5+ (without plugin)

A better solution is to only disable lazy loading for selected images by class, particularly for images which increase the LCP metric.

Read more

Create visual database schema with MySQL Workbench

Rather than manually creating a visual representation of your database schema, which can be extremely time-consuming and error-prone, MySQL Workbench simplifies this task using their database reverse engineer functionality.

Read more

Javascript cookie not working on another page

When you set a cookie you should specify an expire time and a path. If you don’t specify a path the cookie is accessible only by the current page.

Read more

NGINX cache based on cookies

If you have a website where it is possible to serve multiple versions of the site using the same URL, you may run into problems where NGINX returns from cache the incorrect version. For example, if your site has multiple themes or you use browser user agent sniffing to provide different content to users.

Read more

Remove Gutenberg CSS Library from WordPress

If you’re not using the Gutenberg editor (introduced in WordPress version 5), it is a good idea to remove the Gutenberg CSS which is automatically loaded.

Read more

WP Synchro SSL error fix

When you create your first import installation in WP Synchro on your local site, it defaults to verifying the SSL certificate on your local setup.

Read more

Owl Carousel CLS (Cumulative Layout Shift) fix

In this article, we will look at CLS (Cumulative Layout Shift) and how sliders/carousels such as Owl Carousel negatively impact CLS scores and provide a fix.

Read more

How to change OS X screen capture settings

Ever wish OS X’s screenshots ended up somewhere other than desktop? Or you would prefer them to be jpg’s instead of png files? No shadow on the captured image?

Read more

Cannot turn on iTunes Match on iOS 7

The problem According to the instructions from Apple, to turn on iTunes Match on your iOS device (iPhone or iPad): On your iPhone, iPad, or iPod touch, tap Settings > Music. Turn on iTunes Match. However, there seems to be a bug in iOS 7 whereby once you have subscribed to iTunes Match on your […]

Read more

CSS: changing the box-sizing property

The CSS box model works in the following manner (ignoring early versions of Internet Explorer). Total width of the box = declared width + padding + border.

Read more