• I am trying to add custom css to a page. I have been successful in the past and today it just stopped working. It’s almost like wordpress doesn’t recognize any elements anymore (or pages for that matter).
    Typically, when entering .page-id-905 the text would turn black and #hero__content would be blue. Now both are in red. I have tried copying the selector through devtools and that doesn’t fix it either.

    I have other custom css listed just above this that works just fine. However, if I type the exact same thing below the working css, it is also red.

    /About Us Hero Text Color/
    .page-id-905 #hero__content {
    color: #27323f;
    text-shadow: 1px 1px 1px #fff;
    }

Viewing 1 replies (of 1 total)
  • Hello,

    There appears to be a small syntax error in your CSS code. In CSS, comments are written like this:

    /* About Us Hero Text Color */

    You can either remove the comment entirely or update it as shown above. Doing so should help resolve the issue you’re facing.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom CSS Not Recognizing Elements’ is closed to new replies.