Is it possible to have a button stay always in view, no matter where you scroll on the page? Like a floating header, but for a single button?
Hi, yes it is possible without coding… simply place the button into a Box-element and pin the Box-element to the page. Have a look at this Wix Help article how to pin an element:
https://support.wix.com/en/article/about-pin-to-screen-6838335
How about pinning on a mobile site? I wanted to make a floating header when someone opens my page on a smartphone.
me as well, if you have any clue to do that, please share it.
Thanks!
As mentioned in the original link.
- Pinned elements are not pinned on your mobile site.
If you are wanting something to be shown on mobile only, then use formFactor() function as shown here.
https://www.wix.com/corvid/reference/wix-window.html#formFactor
https://support.wix.com/en/article/corvid-writing-code-that-only-runs-on-mobile-devices
https://support.wix.com/en/article/corvid-tutorial-displaying-elements-in-mobile-only
For a floating/sticky header, then see the Corvid example here.
https://www.wix.com/corvid/example/sticky-header
Or do it through the Wix Editor settings itself.
https://support.wix.com/en/article/wix-editor-changing-the-header-scroll-settings
Old post being closed, open a new post if more help is required.