Items tagged theming

As with many sites, images are an important part of the design for my art gallery listings site, The Gallery Guide. The tricky part is that the site is full of user-generated content, so not all of the listings have images attached.
When writing CSS for a Drupal 7 theme, it's easy to forget that core includes utility classes. Yes, there's a whole load of stuff that you might want to override, or get rid of altogether, and you might want to use a base theme, like Zen or Tao or Mothership, but it's worth remembering that there is some useful stuff in core.
On a drupal 6 site, I wanted to create a custom block, but I also wanted to make sure that it would be easily themable. For some reason I couldn't find a good example of how to do this, so here goes. For logged out users, the block would show the login form, but it would also show an extra menu. For logged-in users, it would show a different menu and some additional content. I created a custom accountblock.module to do all this, and defined the menus using the admin UI.
I've started work on building a mobile version of The Gallery Guide, my pet Drupal project. The main site has been built to be very visual - it's got a lot of images, Google map embeds, and most of all, it's got a lot of views. Pretty much the whole site is built on Views. The Mobile tools module has made the whole thing pretty easy to set up - a couple of hours tinkering and I had a usable mobile site with
It's a good idea to theme the error pages on your site. It looks more professional and provides a better experience for your users. A lot of people have a soft spot for the Twitter fail whale. Some people really love it. You can also add functionality to help keep your visitors on the site when they get an error.