this is a test I’ve have going on now: http://wordpresslearning.thepixelwizard.com/frontpage-test-3/
I would like to have a smaller header image for when it appears on a mobile device or smaller screen size.
thank you
p.s. OR, how could I get the color section background at the top to scale better for mobile or small screen sizes?
gary
Hey!
Drag a codeblock element to your page and add this inside.
<style type = "text/css">
@media only screen and (max-width: 479px) {
#av_section_1 { background-image: url("YOUR URL") !important;
}
</style>
And then replace “YOUR URL” with the URL to your smaller image.
Regards,
Elliott
Ellliott, thanks. Will try. I need this on every page, though, but it sounds like you want me to put it on the home page only or?
thank you
Hey!
If your going to have it on every page then add it to your Quick CSS field like so.
.page #av_section_1 { background-image: url("YOUR URL") !important; }
Cheers!
Elliott