Is it possible to convert the Global "Sticky" Header (ReadyTheme Content Sections fasten_header) to a Global "Sticky" Footer?
Announcement
Collapse
No announcement yet.
Global "Sticky" Footer
Collapse
X
-
Global "Sticky" Footer
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Tags: None
-
I think I have an answer to my own question - using CSS - I've changed the .x-fasten-header top: 0; to bottom: 0;
Now to see how well that plays out. If I've missed anything, please let me know.
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
-
Its relatively easier to do this anywhere you want. Just tag the element you want to stick with
{ postion: sticky }
and make sure that's inside a parent container that defines the area in which you want the sticky element to exist. (For example, a footer container, or even say a product image container, whatever).
next define its 'start' position using Top:0, Bottom:0, Left:0 and/or Right:0.
When scrolling reaches the trigger point, it will remain its starting position.
Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
-
Yup "position:sticky" works great, but it isn't fully supported by some browsers (which is likely why Miva didn't use it). I often check CanIUse to ensure compatibility – https://caniuse.com/#search=sticky
Comment
-
Originally posted by RTHOMASDESIGN View PostYup "position:sticky" works great, but it isn't fully supported by some browsers (which is likely why Miva didn't use it). I often check CanIUse to ensure compatibility – https://caniuse.com/#search=stickyLeslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
Comment