Steve Doig

Web Development, Photography

Select Page

How to make bbPress pages full-width when using Divi

Following some tutorials will produce a 500 internal server error. This post only uses CSS to remove the sidebar from bbPress when using the Divi theme. Simply add the following CSS to your Divi > Theme Options > Custom CSS: .bbpress #sidebar {display: none;}...

How to enable GZIP compression using .htaccess

Add the following to the top of your .htaccess file in the root public folder of your website: <IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and fonts AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE...

HTTP security for Divi WordPress websites

To improve the security of your website extra headers can be added to your website using .htaccess. If you’re using Divi in your WordPress website, add the following to your .htaccess file (at the top). # Server Security <IfModule mod_headers.c> Header set...

How can I update NPM to the next version?

How do I update npm? npm install -g npm Please note that this command will remove your current version of npm. Make sure to use sudo npm install -g npm if on a Mac. You can also update all outdated local packages by doing npm update without any arguments, or global...