Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter smlcd

    (@smlcd)

    Hi Ross,

    Thanks for answering so promptly !

    A skilled friend helped me out this morning and figured a perfectly working solution, although maybe a little more complex than needed..

    Here’s what we have implemented :
    – In the class-taxonomy.php, we have added the code below in line 71. (at the time, we didn’t know if taxonomies terms got their own classes, so that introduced a new one. From your message, I understand that this step was unnecessary)

    <blockquote>	}
    			$term_attributes = array(
    			'class' => 'cl-element-taxonomy__term '.$post_term['slug'],
    		);

    -Then in the quick custom CSS of my theme (Enfold), we added the following lines :

    `.cl-element-taxonomy__term.passes{
    background-color:#A6B7BA !important
    }
    .cl-element-taxonomy__term.recents {
    background-color:#00CFFF !important
    }
    .cl-element-taxonomy__term.en-cours {
    background-color:#FFE000 !important
    }`

    It seems that the “!important” argument has won the battle, and I didn’t have to set a transparent background in the template !

    Thanks again ! Issue solved ??
    Clément

Viewing 1 replies (of 1 total)