By building a child theme you’ll preserve all your custom styles and functions through every theme update, ensuring your site retains its unique charm. Create a child theme on your WordPress website by setting up a new directory and then adding a style.css file to hold your custom designs. Then, with a bit of coding… Continue reading How To Create a WordPress Child Theme
Tag: Preserve
How to Preserve the Menu State on Page Load (Using Local Storage)
What You’ll Be Creating In this tutorial, we’ll create a simple static site with Tailwind CSS and then learn how to preserve its menu state on page load. The first time we visit the site, the menu will be hidden. However, as soon as we open it and close the browser, we’ll use local storage… Continue reading How to Preserve the Menu State on Page Load (Using Local Storage)