Home › Forums › CSS › Override element.style to display a different image on mobile w/ WP and @media › Reply To: Override element.style to display a different image on mobile w/ WP and @media
April 10, 2016 at 10:28 pm
#240417
Beverleyh
Participant
Where’s your selector? ‘????’ is not a CSS selector and I’m not sure what you’re attempting with ‘element.style’
Have you tried using one of the classes to target the element?;
.panel-row-style {background-image: url(“homebannerm.jpg”) !important;}
More info about CSS selectors http://www.sitepoint.com/web-foundations/css-selectors/