Well, actually it’s already been a while since I launched this new design (October 2021 😅), but without any comment.
But I think it’s not too late to still write a little post about it.
The goal: make the blog look like the rest of lgk.io
The blog runs with WordPress and now with a new child theme of the preinstalled Twenty Twenty-One, I just called „Twenty Twenty-One LGK“. In the past I used a theme I totally created myself, it was called „Winegum“. It’s still available on GitHub (https://github.com/lgkonline/Winegum1), but I really don’t recommend to use it anymore. It’s very outdated not compatible with modern WordPress features and third-party plugins. It might also be better for security reasons to use a theme, which is activity maintained. That’s why I switched to Twenty Twenty-One.
Previous look with Twenty Twenty-One
I used the color customisation options of the theme to make it match better with my portfolio site. That was the first step to the current look of the blog. From there I created my child theme and replaced parts of the theme, most important part is the header.
By the way: my portfolio site and this blog are running on completely different technologies. The blog is a PHP-server-rendered WordPress site and my portfolio is a React Single-Page-Application. So my task was to bring the header of my React app to the WordPress theme and make it look as seamless as possible.
I’m pretty happy with the result. When you switch between „Blog“ and „Start“ for example, you are switching between two totally separated sites, hopefully without mentioning it. The blog uses the same colors and the same font now.
This is how the blog looked like until I switched to Twenty Twenty-One
The new search bar
One thing was still missing on the new theme: a search bar. 🙈 But hey, better late than never, right? It’s now there too!
The new search component on the start page
Search bar appears when you click on the magnifying glass icon