Just been looking through the code to try and modify the look of the message "There are currently no posts in this category". I noticed that its not wrapped by anything, hence, its not possible to specifically CSS target this text. Would it be possible to add a span with a class or id around this text. I could simply modify the code at line 988 to include this, but thought others might find it useful too.
Great module, by the way, and the tutorial on your site is very helpful. Keep up the good work.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | no-posts.patch | 451 bytes | davemybes |
Comments
Comment #1
davemybes commentedWell, seeing as this was such an easy one to fix myself, I thought I'd post a patch for everyone to use. This patch is made against the CVS version (1 Oct 2006), but the changes are the same as for the 4.7.0 version, although line numbers might be different (didn't check that).
Basically, this patch adds a wrapper around the text "There are currently no posts in this category", allowing us to style it directly. Hopefully someone else will find this useful too :)
Comment #2
bdragon commentedCore taxonomy does not have this. You should file a core issue first.