A Twenty Eleven trick that doesn’t work on WordPress.com blogs

One of the things that bugged me since the first time I saw Twenty Eleven, is it’s lack of a sidebar on single post pages. To work around that, I tried to add the footer sidebar to the side of the single column layout. That wasn’t too hard, with a few easy CSS overrides (that even work on WordPress.com blogs, with the Custom CSS Upgrade):

.one-column #page {
max-width:971px;
}

#primary {
max-width:690px;
}

#supplementary {
max-width:230px;
border-top:0;
position:absolute;
top:220px;
left:830px;
}

#supplementary.two .widget-area,#supplementary.one .widget-area {
float:none;
width:100%;
}

Problem with this idea is that this will break the responsive design. This code should only be applied on the full size version of the theme. On any smaller screens, the footer sidebar should be shown below the content. Because my CSS uses absolute positioning, there is no way this will scale well. We need a media query here.

It would work if we would wrap the CSS code in a media query like this one:

@media (max-width > 800px ) { /* CSS GOES HERE */ }

Unfortunately, WordPress.com strips out specific CSS3 properties and characters.

Until WordPress.com supports media queries (and with that, other CSS3 goodies) we can’t fix this in a way that scales well. In case you want to attempt this, give the WordPress.com Custom CSS plugin a try. It is very close to the code they use at WordPress.com.

Twenty Twelve is now part of WordPress 3.4

The first version of the all new Twenty Twelve theme has been added last night to WordPress 3.4 Alpha in Changeset 19842:

Initial import of the Twenty Twelve theme, by Drew Strojny. This time around we’re trying something different than the previous twenty-something themes, a much more minimalist approach that affords easy use as a CMS in addition to being blog-forward. More information will be on wpdevel soon. Props drewstrojny and lancewillett.

You can see a live demo, setup by James Collins: Twenty Twelve demo.

Please keep in mind that this is a very early version of the new default theme.

Many new features, changes and tweaks will be added in the next few weeks, while WordPress 3.4 is shaping up for its first beta.

Added a single character of BuddyPress code

Months after my first WordPress contribution, my first BuddyPress contribution is there.

Changeset 5637 adds a single character, using a new function instead of the old deprecated one. After making this patch, I learned from Paul Gibbs that this was already added in trunk and I was simply looking at the 1.5 branch…

So, I have to work on something bigger to earn full props here. Good thing I have ticket #3929, where there is a slightly bigger patch in the works. :)

UPDATE: Paul just pushed Changeset 5646 which commits my other patch. Yay!

Just got the all clear from the neurologist

I am so relieved. Just got the all clear from the neurologist, there is nothing wrong with my brain. The little deviation visible in the left temporal lobe, is nothing to worry about. Yay! :D

This all means that we still don’t know what caused the blackout in the first place. The neurologist concludes that it was an one time event. To make sure that he didn’t miss something, he asked two other specialists to check the MRI scan results.

Thanks for all the support in the past couple of weeks, I really appreciate it.

Nothing critical found in my brain. Phew!

The long wait for MRI results is over, sort of. The neurologist called me to inform that there is nothing critical wrong with my brain. There is a little deviation visible in the left temporal lobe. It has probably been there for all my life and it is not sure if that caused my blackout.

In an attempt to identify what the deviation exactly is, the neurologist sent the MRI images to another specialist. Tomorrow I’m going to schedule an appointment with the neurologist to talk about all the results and I hope we will get the all clear then.

All in all, nothing critical found in my brain. There is no indication that there is anything wrong that will bite me in the butt sooner or later. Very happy about that. :)

Only thing is, we have to wait a few days more for the final conclusion. And if there is one thing that I’m starting to hate, it’s the waiting…

UPDATE: Appointment with neurologist is scheduled for next friday. Friday the 13th.. May that become my lucky date.

2011 in review

All WordPress.com powered blogs got a nice gift at the end of 2011. My blog doesn’t come with impressive numbers, but the annual report is pretty cool:

A San Francisco cable car holds 60 people. This blog was viewed about 1,200 times in 2011. If it were a cable car, it would take about 20 trips to carry that many people.

Check out the full annual report of my blog.