Decided to deploy a new WordPress template: Typo from Okay Themes. I was angling for a minimal one column layout and this is closest to what I wanted. I didn’t want to hack away too much at a an existing theme like I had in the past.
Read on for more techy UI details. Otherwise, I hear a football game is on.
I tried something new with the customizations: putting the styling and extra content using jQuery. Schlepping a child theme wasn’t worth it because my changes and additions weren’t that much to warrant it, but I also didn’t really want to touch the theme CSS nor the template file in question (the footer).
Since the theme called the jQuery base script already, I thought I would write my own separate script with my customizations and just inserting a call in the header. That way if there’s ever a theme update I’ll just need to insert the call into the header again:
I realize that doing all of your styling (and inserting content) with jQuery is clunky but I didn’t have much to do to begin with. There’s an issue with the load order because the pre-styled content can sometimes flash before it is rendered—similar to FOUC phenomenon when you don’t call CSS correctly. I have an idea of what’s going on but research is needed.
To do list:
Kind of a throwaway post, but in the last few days I made everything darker here at jd.com. The development environment I use at work is by default a white background and customizing the colors is hellish, so I leave it as is. I generally don’t like staring directly into flashlights so I thought I’d change what I’d have full control over, i.e., this site.
That darker screens save energy is actually not true, assuming you are using an LCD monitor. See here. It’s Science™!
* Not really “hot on the heels”. That last post was weeks ago, which is ancient history in Internet chronology.
The thing that really bugged me was the search bar, which seemed to be just plonked up in the header arbitrarily. It stuck out more on mobile devices. So I decided to put it in the footer, where I keep all the sidebar type of things, and I added a link to it from my main menu.
The new problem was that it was an anchor tag, which is really disorienting native functionality and in this case creates another click (it seems petty but it will get noticed…design minutia is the heart and soul of UI/UX). So I solved it by using jQuery’s fun scroll function and set the focus on the search field. So now it operates as click-type and not click-click-type. I also used this scroll for the “Contact” first tier link and the “More>>” sub-link.
Additionally I added a nice “Scroll To Top” button that appears when you…scroll down from the top. It zips the user to (surprise!) the top. It works fine in every browser but it’s wonky on my Android (Gingerbread) phone. So there’s something else to think about.
To do list:
01 Make better header – doesn’t look fun on mobile
02 Dewonkified version of scroll to top function for mobile
03 Fix width of Google ads? It causes horizontal scrolling on mobile. Seems to come “as is” from Google so I don’t know if I can really customize.
I changed things around. It was a matter of scalable convenience; the theme I was using was customized and I didn’t want to keep merging code or design or making sure stupid plugin x functioned whenever the theme had an update or a door was slammed in Kathmandu. Now I’m using the twentyeleven default theme from WordPress.
Shouldn’t a professional web designer want to be more attentive to his personal site? Eh, maybe. I’m designing 40+ hours a week. Whenever I log into here I don’t really want to perpetuate the work into my offtime. I just want to type way with some sensibility, without having to worryworryworry with tinkering the user experience all the time. Every time I hit the front page I cringed inside, thinking of all the things I wanted to do. I even had to stop myself from tweaking too much with this theme.
So enjoy this apparently Halloween-light color scheme. Punt a jack-o-lantern through the goalposts of life.
*Oh hey, since you brought it up…regardless of whatever I believe about marriage and politics**, the problem I had with the story arc was the support people showed for contemptible bureaucrats willing to use government force against Chik-Fil-A as property owners. Letting a government decide who or who can’t do business, for any reason, is letting another trickle of tyranny stream through the cracks. As far as I know, Chik-Fil-A’s exchanges are all voluntary—they do no use force against people to buy or not buy from them, or use force to accomplish anything else. If they did, through donating money for anti-gay legislation or the like, then they are just as contemptible as the politicians injecting themselves where they don’t belong and using force.
**The government should have zero to do with marriage, except perhaps as the arbiter of the terms of the marriage contract between the consenting parties.
Photo by boogieswithfish.
So it appears the customizations I made to the default WordPress them were overridden when I installed the update — which is why you see what you see now. Hold on a sec while I fix this.
EDIT: Well, looks like most everything is back in order, but I’ll be bughunting for the next few days. Enjoy.
About craigslist’s stripped-down functionality, Gary Wolf writes:
Each of these sites, of course, is merely one of the many sections of craigslist, which dominates the market in facilitating face-to-face transactions, whether people are connecting to buy and sell, give something away, rent an apartment, or have some sex. With more than 47 million unique users every month in the US alone—nearly a fifth of the nation’s adult population—it is the most important community site going and yet the most underdeveloped. Think of any Web feature that has become popular in the past 10 years: Chances are craigslist has considered it and rejected it. If you try to build a third-party application designed to make craigslist work better, the management will almost certainly throw up technical roadblocks to shut you down.
“More” of this, please. We are already inflamed with function-creeping, social networking incestuousness — we don’t need any more swelling. Unfortunately it’s bled over into blogging, where you, as the reader, are attacked on all visual fronts to hey hey hey hey hey click this do this now now now share it share it like like like, in warp-speed technicolor at 72 dpi. It’s something I’ve tried to fight on this here site; heck, I’m thinking of stripping things down even further. It can be done.
This is why I like books. Aside from the cover artwork and a few design flourishes on the inside, it’s all thoughts on page, committed to paper and the mind of the reader. When at one time books were what everyone relied on for entertainment and knowledge, they have now become Avalon for our wounded Arthurian senses.
On an interesting side note, Wolf describes Newmark as “politically liberal”, yet:
“People are good and trustworthy and generally just concerned with getting through the day,” Newmark says. If most people are good and their needs are simple, all you have to do to serve them well is build a minimal infrastructure allowing them to get together and work things out for themselves.
Newmark’s words are classically libertarian: leave people alone and they will most likely work things out for themselves. For every single “craigslist killer” there’s probably a million mutually beneficial, peaceful, voluntary transactions. Not a bad ratio. I’ve done maybe a dozen sales through craigslist with zero problem — I simply use some common sense and intuition to avoid transactions from which I may not benefit. The idea of a society capable of functioning by itself, coercion(government)-free is fundamentally at odds with modern left-liberalism, as well as most other political positions, including conservatism. If Newmark believes we’re just trying to get “through the day”, what need do have for a government to make sure we play nice with ourselves (i.e., the left’s costly welfare state), or that we play mean with others (i.e., the right’s costly warfare state)?