phgDigital / Project

1 stars 1 forks source link

Customizer Option: Toggle Footer Image #12

Closed phgDigital closed 7 years ago

phgDigital commented 7 years ago

Currently the Footer customizer options are a little flawed. To remove the background image in lieu of a solid background color you must select the Footer BG Overlay Color and set the Footer BG Overlay Opacity to 1 (opaque). While this isn't all that bad, the resulting footer background color is off. If you select a lighter gray color (#f5f5f5) and an opacity of 1 the background color produced is much darker (~#494949).

chrisblakley commented 7 years ago

Regarding the color, Nebula adds an :after to the overlay. We'll need to either add a Customizer control for that too, or override it if the overlay color is modified.

Also, I'd like to optimize this where if the opacity is set to 1, then the background image should not be loaded at all (can apply to the hero too).

chrisblakley commented 7 years ago

Ok, I think I've got a good solution here. I've added it to the hero and footer. Will update the test site tomorrow morning.