wp_list_pages CSS
-
Hi. So, I wanted a page on my blog that featured an automatically-updating list of all the other pages. I added the wp_list_pages function to a page template (links.php – I’m using Sandbox 1.6.1), and posted a new page under that template, thereby generating my list. Success.
Here’s my problem: I’m not pleased with the style (text colour, decoration, etc). I’ve read the function reference document http://codex.wordpress.org/Template_Tags/wp_list_pages, and I’ve tried to modify the CSS, but I can’t get it to work.
Can you generate the code for me to put in my CSS file? I’m wondering if I’m getting the formatting wrong or something. Specifically, I want to apply the following styles:
a
{
color:black;
text-decoration:none;
line-height:150%;
}
a.bulletlist:visited
{
color:#666666;
}
a.bulletlist:hover,a.comp:active
{
text-decoration:underline;
}Thank you!
The topic ‘wp_list_pages CSS’ is closed to new replies.