A common question I get for theming Drupal sites is how to apply css to specific pages. For example, you might want your background image for your header to change on specific pages. Out of the box, Drupal doesn’t give you any class in the HTML that’s unique to your node to grab onto. This …
Read more »Tagged: theming
A lesson in the usefulness of CSS sprite generators
The basic premise of a sprite image is to consolidate your site’s graphics into one (or more) master image file. Then, with the magic of CSS’s background-position property, you can shift the master sprite image around and only reveal the parts you want. Like a window. Some might even say like a Sliding Door. What …
Read more »Theming the User Login Block
Don’t want people to look at your site and immediately know it is Drupal? Theme your user login block! While it isn’t always your top priority, customizing the look and feel of the login form helps maintain the integrity of a custom design. In this post, I’ll get you started using both CSS and PHP …
Read more »10 Tips for Theming Drupal 6 Forms
In the last month, I’ve been working on a project that requires a very custom look and feel for login/register/adding content forms, and worked what I’ve learned into a presentation. Now I’ve got a little running list of tips for whipping Drupal forms into shape. Check out the Stealther plugin. If you are theming a …
Read more »Faking imagecache for external images in Drupal
Imagecache is just one of those modules that we use on a consistent basis. There are usually many places within a complex site where the ability to crop and scale an image to a certain size comes into play. While this works great for images that you are storing on your own server, you run …
Read more »Table-free Gallery Grid View in Drupal
In my role here at Advomatic, doing Drupal Development, for the last two projects I’ve worked on, I’ve gotten requests for a surprisingly tedious layout that looks a little like this: It’s a grid of images with captions of varying length. Now, this would be a cinch with tables, I prefer to handle these with …
Read more »Drupal Maintainability II – Separation of Church and State
This week’s blog post on Drupal maintainability is about keeping things separated (You can take a look at the other posts in the series). Drupal is really powerful. One of the core assumptions is that every site will be different and so everything can be manipulated and extended to your heart’s content. And for any …
Read more »Drupal Maintainability I – Let Drupal work for you.
Here at Advomatic our bread and butter are site planning, Drupal development, and Drupal hosting. We host many of the large Drupal sites that you the Drupal community have created. Along with that we have recently started offering a drupal maintenance service. We offer security upgrades and ongoing maintenance for the sites that we host. …
Read more »Tales from the IE Freakshow: There’s limit on the number of CSS files it can load
The prankster that it is, Internet Explorer has thrown an issue at us recently that really had us scratching our head for a little bit. It turns out, IE 6/7/8 has a limit on the number of CSS files you can load. Anyone who’s worked on a medium to large Drupal site knows that you …
Read more »Calling it a wrap: A checklist for your theme’s finishing touches
Whew. It’s finally over. Months and months have gone by, and the project you’ve been working on is almost ready for launch. Normally, you’d be happy to just push the project to the back of your mind and say, “NEXT!”… Before that though, I think there are a few things we owe the client… little …
Read more »