Support » Themes and Templates » wp_list_pages :: modifying background colour

  • Resolved flammobammo


    Hi everyone,

    Sorry to keep asking questions, I’m learning lots very quickly by trial and error here 🙂

    On my homepage 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:

  • ” style=”background-color: white”>blog
  • <?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)


Viewing 1 replies (of 1 total)
  • 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!

Viewing 1 replies (of 1 total)
  • The topic ‘wp_list_pages :: modifying background colour’ is closed to new replies.