So I have created a new theme for my art website. I built it off of http://underscores.me/ which is a great starting theme. I studied a few tutorials to figure out how to make the layout scroll horizontally. The links in the navigation menu point to the id of each div. When a link is clicked, the html,body scrolls to that target minus the width of the margin to centre it. At the same time, the background and foreground divs also animate the same distance with different timing.
The sky is a simple CSS gradient that changes based on the hour. The hour also adjusts brightness and contrast effects on the foreground and background images.
- The pages are hard coded into the index.php file. I’m not happy about this. It works fine for my website, but WordPress themes should be more dynamic than this. I would like to find a way to load pages dynamically and resize the website to account for new pages.
- There’s no support for sub menu links.
- I have disabled the links to entry permalinks. I wasn’t sure how I wanted to display those yet. Right now, they’re just a mess.