Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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

#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/