• Invalid CSS code in dynamic header style output causes malfunction of minify plugins etc.

    File inc/custom-header.php has this line 82 in the middle of CSS code, the output of a WordPress API call and a stray quote char:

    			<?php header_image(); ?>"

    This creates this invalid CSS code in front end:

    <style type="text/css">

    .site-title a,
    .site-description {
    color: #000000;
    }


    https://[redacted]/wp-content/themes/responsiveblogily/inc/starter_content/img/header-img.statopt_ver.1755767639.png"
    .site-title a,
    .site-description {
    color: #000000;
    }
    </style>

    Suggested fix, remove line 82.

    Also that color rule is printed twice, something clearly went wrong in this file.

    ResponsiveBlogily 7.2, WordPress 6.8.2

The topic ‘Invalid CSS code in header style output’ is closed to new replies.