Hi guys,
Hope you are safe and well.
I have created a custom header in X Pro. I have a Modal, within a Container.
My header is Sticky, with a heigh of 200px, Absolute, and has a Trigger Offset of 1 and Shrink Amount of 0.7.
I have set a background image for the Toggle.
What I’d like to happen is when the user scrolls down, the image shrinks with the rest of the bar.
I can’t get the image to resize. I have set the Toggle Flexbox Direction to Column, Vertical Alignment to Center and Horizontal Alignment to Center. I have also set the image Max Width to 100%.
I have tried using a scrolling effect to resize the Modal but it doesn’t work consistently.
I have included 2 images below to show the effect that I’m trying to achieve. The first image shows the page before scrolling. The second image shows the page after scrolling. I create an Image to the left of the Modal that does re-size when I scroll to show you that the bar is re-sizing.
Thanks,
Chris