My Blog of Japan Japan!

Posted
23 October 2007 @ 8pm

Posted In:
CSS

Tagged
, , ,

DePo Clean Stylesheet Corrections

After installing the beautiful but needing more massaging than usual Wordpress theme, DePo Clean theme, I noticed that my error log was bigger than usual. Somebody was snoozing when they wrote the stylesheet for this theme.

Sleepy Guy

A rogue entry in the DePo stylesheet was causing a lot of 404s. At line 98 of style.css there’s a hard link reference to a file called search.gif.

It looks like this:

background:url(’/wp-content/themes/depo-clean/images/search.gif’) 0 14px no-repeat;

This (supposedly) absolute reference was causing problems, so I changed it to a relative link:

background:url(’images/search.gif’) 0 14px no-repeat;

and the 404s were gone. And the magnifying glass image started appearing next to my search box. You can find the file in /wp-content/themes/depo-clean/style.css and edit it by downloading the file and editing directly, or in the Admin section under

Manage->Files->Stylesheet


1 Comment

[...] Update:  More repairs here. [...]


Leave a Comment

Apple Keyboards, Filco Keyboards and USB Hubs My Map of Japan SEO updates and Favicon