{"id":16984506,"date":"2023-08-19T00:48:06","date_gmt":"2023-08-19T00:48:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/custom-css-not-recognizing-elements\/"},"modified":"2023-08-19T00:48:06","modified_gmt":"2023-08-19T00:48:06","slug":"custom-css-not-recognizing-elements","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/custom-css-not-recognizing-elements\/","title":{"rendered":"Custom CSS Not Recognizing Elements"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I am trying to add custom css to a page. I have been successful in the past and today it just stopped working. It&#8217;s almost like wordpress doesn&#8217;t recognize any elements anymore (or pages for that matter).<br \/>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&#8217;t fix it either.<br \/><br \/>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. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/<em>About Us Hero Text Color<\/em>\/<br \/>.page-id-905 #hero__content {<br \/>color: #27323f;<br \/>text-shadow: 1px 1px 1px #fff;<br \/>}<\/p>\n","protected":false},"template":"","class_list":["post-16984506","topic","type-topic","status-publish","hentry","topic-tag-css","topic-tag-styling"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16984506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16984506\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16984506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}