Skip to main content

Hello, I’ve searched everywhere and I found similar problems but no solution. How do I scale the background image of the page (page, not section) to fit the browser?


Kind Regards

Hey there Jo‹o,


Thanks for reaching out! Here are some instructions for stretching an image to fill the browser window:



  1. Assign an image as the background image for your page by clicking on the “Change” button in the “Background Properties” panel.

  2. Click on the “Stylesheets” button in the bottom left of the editor.

  3. Paste in the script from this link:https://gist.github.com/GaryUnbounce/9081974

  4. If you’d like to apply this to a page section instead, change #lp-pom-root to the ID of your page section.

    I hope that helps, Jo‹o! Please let me know if you have any other questions. 


Hi,

I’ve set my main image as a background image; which works fine. Except now I need to use the alt image tag which does not seem to be available for background images.

How can I make a regular image -with alt image tag field- fit the width of the pages?


Reply