Marco Luthe Online! » WordPress Stuff » Trouble With Templates And CSS In WP [UPDATED]
Trouble With Templates And CSS In WP [UPDATED]
I had the following problems:
- “Pages”-list in sidebar:
If you take a look at the “Pages” navigation in the sidebar, you’ll notice the big distance between the headline – “Pages” – and the first entry (currently “Counterstrike”). I already know that the template uses wp_list_pages(), and that you can change the style via CSS using the “current_page_item” or the “page_item” selector. I tried to integrate it into my stylesheet setting the “margin-bottom” to zero px, but nothing happened…[UPDATE from 2007-02-13]
OK, this was a tricky one – but after inspecting the css-code I found out that the wisdom lies within “#sidebar ul ul”… - Ordered list in comments:
I wanted to show comments as an ordered list using “1, 2, 3, …” and so forth. So I exchanged “<ul>” with “<ol>” in my comments template. The only problem is that the number is shown above the author’s name, not before…[UPDATE from 2007-02-13]
This problem is also resolved… - Comment number in reverse order (guestbook):
I have the same problem as described in #2 in my guestbook, but in addition to this, I want the numbers of the comments to be displayed in reverse order…[UPDATE from 2007-02-13]
Resolved! See this post…
Filed under: WordPress Stuff











