Twenty Till Noon

twentytillnoon

I wanted it all.

So I had decided that I wanted to integrate HTML5 elements and responsive design into my WordPress theme. And to that end I was keeping my eye out for interesting articles on both of these topics. A while ago I had bookmarked 1140 Grid and just recently I was inspired by Twenty Ten Five. So there it was, everything I needed to update my theme! Continue reading

Posted in Downloads | Tagged , , , , , , | 14 Comments

Bug of the Day!

style.css and WordPress Custom Menus
So I was working on a WordPress blog and found that the comments in my theme files were doubled spaced. But only ones that I had recently edited with the editor in the admin panel (I don’t normally do this but I was working from my phone.)

style.css was one of the affected files so I went through it and removed all the extra spaces and uploaded it to the server. Then for some reason my custom menu was no longer loading and was defaulting to the native menu structure.

After going over all my theme files for about an hour or maybe more I finally realized that a single space character after the opening of the block comment in the declaration at the top of style.css was the culprit. I removed the space and everything worked again.

For those wondering if you have a similar bug, I also noted that everywhere my theme summary was displayed, where the theme name should have been displayed, instead there was a blob of text consisting of the theme name and everything else in the commented declaration at the top of style.css as well. So this was a red flag that the problem originated from there, so look at your theme summary!

Posted on by C. Scott Asbach | Leave a comment