Files
odoo_source/addons/website/static
Romain Derie d11ece23e9 [FIX] website: correctly set theme bg img when slide over footer enabled
Steps to reproduce:
- Click on the footer and enable footer "Slide Hover" option
- In the theme tab, add a theme bg image
- Drag & drop a "Text - Image" snippet (or any snippet without a bg
  color set, or any snippet with a bg color set and just remove it)
- The snippets and page layout in genral will receive a forced color
  instead of using the bg image set.

This is because with the slide hover option, the bg has to be moved from
the `#wrapwrap` to the `main`. Indeed, it's the main which is scrolling
hover the footer, not the `#wrapwrap`. Without doing that, the elements
hover the footer would have a transparent background and would not hide
the footer.

But the bg image was not considered when doing it, only the bg color.

opw-3704746

closes odoo/odoo#157638

X-original-commit: 68c8a7f48ac955a8e9e4f1fc8cb1c76af54116b3
Signed-off-by: Guillaume Dieleman (gdi) <gdi@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2024-03-14 11:12:33 +00:00
..