Background Per Page
Background image doesn't shrink with screen size. (5 posts)

  1. devanijanssen
    Posted 2 years ago #

    My image is slightly larger than my current window. And when I minimize my window at all, the image does not shrink with it. Is there a way to make the background image shrink in size with the window/fit to the screen?


  2. lok1728
    Posted 2 years ago #

    There's is not option to set the background image to responsive in the plugin and the css is embedded after all other CSS has been called. I even attempted to make the css background-size: cover !important; but that didn't work, so I ended up hacking the background-per-page.php file with a responsive/auto radio button option.

    I have emailed the developer to see if they wish to commit this addition but for now, you can copy the file I have changed and replace your background-per-page.php file. However, any updates could remove the changes I made, so use at your own risk. ;)


  3. pedronmarques
    Posted 2 years ago #

    this is great lok1728!

  4. lc235
    Posted 2 years ago #

    this is brilliant! author should definitely incorporate this in the plugin. Thanks lok1728

  5. Santiago Rocha
    Posted 1 year ago #

    @lok1728 thanks a lot! you just saved me lots of work! ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Background Per Page
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic