• I will preface this post by stating that I have an understanding of CSS & .PHP, but I do have limited experience in actually using it. I’ve been learning as I go and have used CSS in the past with success – unfortunately I have gotten stuck on an issue.

    I have created an author/users list by using the WP_List_Authors function – I have placed the function in the sidebar and so far the list is functioning correctly. As of right now it is displayed as a simple html hyperlink list (i.e. blue underlined text). I would like to add some style to it like changing the font, color, etc., but this is where I am having difficulty and my lack of experience is the cause.

    I am able to adjust all the “ul” lists on the site, but I specifically would like to adjust the wp_list_authors list. I read the the article on Stylizing Lists with CSS, but I am having difficulty achieving the changes I am trying to implement. Here is what I have done thus far after reading the mentioned articles above:

    Added the following to Sidebar.php:
    <h2>List of authors:</h2>
    <ul id=”authorlist”>
    <?php wp_list_authors(); ?>

    Added the following to style.css:
    #authorlist {
    color:#f78e1e
    font-style:italic;
    }
    #authorlist ul {
    color:#f78e1e
    }
    #authorlist ul li {
    color:#f78e1e
    }

    Please note, the exact style above is just for testing purposes; that will be changed once I can successfully make the changes.

    I am currently using Twenty-Twelve for my theme.

    I appreciate your help; thank you!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Styling Author Lists (wp_list_authors)’ is closed to new replies.