Support » Fixing WordPress » Changing the text color in categories

  • I created a child theme of Twenty Sixteen, and now I want to change the font color and size of the text in the category descriptions. I added this to my style.css file, but nothing changed. What’s wrong?

    .taxonomy-description {
        color: black;
        font-size: 1em;
        line-height: 1.7;

    My functions.php contains this

    function my_theme_enqueue_styles() {
        $parent_style = 'twentysixteen-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme.
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style ),
    add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
    • This topic was modified 2 years, 1 month ago by sherlock16.
    • This topic was modified 2 years, 1 month ago by Steve Stern.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • What I had done was ok, the problem was that my Fast Velocity Minify plugin was caching the previous versione of the site. Deleted the cache, all went fine.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing the text color in categories’ is closed to new replies.