Steve Doig

Some notes on web development, IT

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...

25 Motivational Quotes

“Be happy with what you have. Be excited about what you want.”— Alan Cohen “Happiness is when what you think, what you say, and what you do are in harmony.”— Mahatma Gandhi “Doing what you like is freedom. Liking what you do is happiness.”— Frank Tyger “We tend to...

React Native CLI error: Failed to install the app. Please accept all necessary Android SDK licenses using Android SDK Manager: “$ANDROID_HOME/tools/bin/sdkmanager –licenses”. Run CLI with –verbose flag for more details.

You need to accept the licenses through the terminal/prompt e.g on linux: cd ~/Library/Android/sdk/tools/bin/ Run the sdkmanager as follows: ./sdkmanager –licenses e.g on Windows: cd /d “%ANDROID_SDK_ROOT%/tools/bin” Run the sdkmanager as follows:...

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...

How to make a Divi full width slider full height also

If you’re using Elegant Theme’s Divi, and you have a full width slider at the top of your page you wish to extend down to the bottom of the view port, at first add a css class name to< that particular slider module, say: my_slider. After that add the...

Recommended WordPress Plugins

For Website Owners Yoast SEO – Search Engine Optimization BackupWordpress – Automated file and database Backups Wordfence – Security Gravity Forms – Contact Forms W3 Total Cache – Improve the speed of your website using caching For Web...

How to get more out of less

This book validates my personal work experience, where a small number of clients generate the most work and income for me, and I get the most amount of happiness and satisfaction from a smaller amount of personal relationships. There is a way to relax, enjoy life, put...

Keeping an external hard disk drive active

If you’re on a Windows PC, you might need to use an external hard disk drive to extend your available disk space, perhaps for photos, movies, images, graphics – your work. You might find that the external HDD works fine when you start Windows, but after an...