Sticky sidebar going under sticky header
-
Hi,
I’ve got my sticky sidebar going under my sticky header after I scrolled enough the page for the sidebar actualy becoming sticky. It seems that the
top
css property for the.theiaStickySidebar
div being0px
makes it to stick the top of the viewport and to be croped under the header.I had to modify the
theme.js
file to get rid of this issue using theadditionalMarginTop
option of thetheiaStickySidebar
function like this :
$('.sticky-sidebar').theiaStickySidebar({'additionalMarginTop':$('.header-menu').height()+30});
Did you already experiment this isue or is it me doing something wrongly ?
Thanks in advance for any help you may provide.
Séb.
- The topic ‘Sticky sidebar going under sticky header’ is closed to new replies.