Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #544996

    For Color Section, I was hoping the background image would resize now on mobile devices instead of just seeing a portion of the image. Is this possible?

    #545447

    Hi stacieclark!

    Add this to a codeblock element in the page.

    <style type = "text/css">
    #av_section_1 { background-size: 100% auto !important; }
    </style>

    You can set the “auto” to 100% as well if you want it to stretch to fill the height also. Or you can set the background repeat to “Stretch to fit”.

    Regards,
    Elliott

    #545473

    Thanks! With a little tweak, it worked great! changed it to: auto 100%, instead of: 100% auto.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Any way to have background image in Color Section resize on mobile device?’ is closed to new replies.