I use the wordpress theme Sensible WP. When I do a search this is what appears as the URL:


I need to modify the CSS for this page only, not all pages, but I can't find how to do it.

if ( is_search() ) {
    echo ‘<style>.class{color:red;}</style>’;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.