wordpress - Switch background in CSS when browser or device gets to a certain width -
i have image background of main content area , side bar. responsive , works until side bar disappears bottom. switch background different image doesn't have side bar color anymore.
i working on wordpress , can edit css. ideas?
you're going want use media query. piece of css can seen once condition has been met. example
@media screen , (max-width: 500px) { body { background: blue; } }
where screen less 500px when background blue.
Comments
Post a Comment