This tutorial is aimed at developers. My thanks to Rich Tabor for his insightful article entitled How to Add Customizer Colors to Gutenberg Block Color Palettes. After a lot of thought on the matter and countless attempts at finding a solution this article steered me in the right direction.
Very rarely do I include colour options in the Customizer in my own themes. There are a number of reasons for this with the main reason being that with these options a user can destroy all my hard work with regards to website accessibility with just a few clicks. Another big reason why I tend to stay away from these things is the degradation in site speed that comes as a result. Creating child themes with a lot of inline css in the parent theme is also not a lot of fun.
Continue reading “Customizer Color Options”
I have used floats in my styling for many years now. I do not even notice the problems and the amount of work coupled to doing things this way. It is time that I move on to better technologies and say good-bye to floats forever.
Continue reading “Flex-Box/CSS Grid Layouts”
By default the WordPress Comment Form is very plain and it often needs a touch of customisation. On the latest theme I am working on I wanted a few changes to the comment form. To do this I needed to change the arguments passed to the comments form along with a few lines of styling.
Continue reading “Customising a WordPress Comment Form”
Personally I feel that the masonry blog layout is a bit over-used these days but for a portfolio or photography site it serves a definite purpose. A masonry layout is a nice way of overcoming the problems caused by the different size images, e.g. portrait and landscape.
Continue reading “Masonry Blog Layout”
Often there are times when I want to append a search form to a menu. This site is an example of where I did just this.
Continue reading “Append Search Form To Menu”