Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Changing the text color in categories

Discussion in 'Misc WordPress Requests' started by sherlock16, Jan 14, 2018.

  1. sherlock16


    Changing the text color in categories, by sherlock16

    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’ );

    Changing the text color in categories

Share This Page

Monarch Social Sharing Plugin