WordPress.org

Support

Support » Plugins and Hacks » WP Sitemap Page » [Resolved] Heading colour and eliminating Posts heading

[Resolved] Heading colour and eliminating Posts heading

  • I am using the twenty eleven theme with a black background. The plugin has picked up my font colour, which is great, but the main header: Pages and the bullets are white. If possible, can you give any pointers on how to change their colour?

    The site is has only pages i.e. no posts. The plugin generates a sitemap which works fine, except that at the bottom it has a heading Posts by category, which serves no purpose. I tried commenting out various lines in the PHP file without success. How can I prevent this heading from showing?

    http://wordpress.org/extend/plugins/wp-sitemap-page/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I finally was able to remove the Posts by category heading, by deleting the text inside the brackets on the line $return .= '<h2 class="wsp-posts-list">'.__('Posts by category', 'wp_sitemap_page').'</h2>';

    Would still appreciate guidance on how to change the Page heading and bullets colour.

    Plugin Author Tony Archambeau

    @funnycat

    Hello.
    There is a new version of this plugin (version 1.0.4) that fix the problem of the “posts by category” title.
    It is possible to customize the way the title or the bullet are displayed. Each element has a specific CSS class attribute to customize it. You can change the color of a title by using such a code in your CSS file:

    .wsp-pages-title{
      color:red;
    }

    I didn’t check such a code, but this should works fine.

    Hope that help. 🙂

    Regards,

    New version works fine for pages, except for the colour coding.

    The above code didn’t work, but to style the colour, on the page with the shortcode can use:
    <div style="color: #123456;>[wp_sitemap_page]</div>
    The colour can be chosen from any HTML number as in the example, or any of the accepted CSS colour names.
    Works fine with very good overall result!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Heading colour and eliminating Posts heading’ is closed to new replies.
Skip to toolbar