{"id":12106793,"date":"2019-11-07T13:03:33","date_gmt":"2019-11-07T13:03:33","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/background-image-css-issue\/"},"modified":"2019-11-07T13:03:33","modified_gmt":"2019-11-07T13:03:33","slug":"background-image-css-issue","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/background-image-css-issue\/","title":{"rendered":"Background image CSS issue"},"content":{"rendered":"<p>I am using the current version of the plugin and when I added a background image, it wasn&#8217;t displaying.  In dev console, the CSS generated for the BG, it says &#8220;Invalid Property Value&#8221;. <\/p>\n<p>I ended up overriding the class in my own CSS file and defining the attributes individually and the BG now works.  Your code &#8220;looks&#8221; correct so not sure why Chrome(Version 78.0.3904.70) has an issue with it.<\/p>\n<p>INVALID:<br \/>\n.wpd-av-overlay {<br \/>\n    background-image: url(https:\/\/santamonicabrewworks.loc\/wp-content\/uploads\/2019\/11\/age_verification_overlay_bg.png) no-repeat center center;<br \/>\n    box-sizing: border-box;<br \/>\n    background-size: cover;<br \/>\n    background-attachment: fixed;<br \/>\n}<\/p>\n<p>WORKS:<br \/>\n.wpd-av-overlay {<br \/>\n    background-image: url(https:\/\/santamonicabrewworks.loc\/wp-content\/uploads\/2019\/11\/age_verification_overlay_bg.png);<br \/>\n    background-repeat: no-repeat;<br \/>\n    background-position: center;<br \/>\n    box-sizing: border-box;<br \/>\n    background-size: cover;<br \/>\n    background-attachment: fixed;<br \/>\n}<\/p>\n","protected":false},"template":"","class_list":["post-12106793","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12106793","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\/12106793\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12106793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}