WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp_list_pages :: modifying background colour (2 posts)

  1. flammobammo
    Member
    Posted 9 years ago #

    Hi everyone,

    Sorry to keep asking questions, I'm learning lots very quickly by trial and error here :)

    On my homepage http://tombammann.homedns.org/ I have the list of 'pages' at the top with my chosen theme. I'm trying to adjust the background colours to white, for consistency. I've located the code at line 359 of header.php, and I've managed to adjust the colour of the first one, but I'm stuck with the wp_list_pages function. This is the code I've modified:

  2. " style="background-color: white">blog
  3. <?php wp_list_pages('title_li='); ?>

    I've located that wp_list_pages function is in template-functions-post.php, although not being part of the theme I realise you wouldn't want to touch this file.

    Do I modify the style.css of the theme? If so, any pointers apart from going through the css tutorials from scratch? (Been that path, but I don't learn very effectively that way)

    Thanks,
    Tom

  • flammobammo
    Member
    Posted 9 years ago #

    Sorry guys,

    All sorted now ;)
    I suspect I'll be spending quite some time playing with style.css ;)

    I feel really silly answering my own posts!

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags