So far I've tried this code:
jQuery(document).ready(function( $ ){
if ($('.heading-title').css('color') === 'rgb(168, 168, 168)') {
$('.heading-title').addClass('heading-title-x');
} });
This code adds the class name to each class with "heading-title". But I need to add the class name which only has this specific CSS property value.
$(".heading-title").each..., check each one then use$(this).addClass- you can't usethiswith your code as-is, only inside aneach