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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -