This is what you are looking for - Make sidebar sticky with scroll with a working fiddle HERE You might need to changes the odd code but should suffice for your question. The fixed sidebar is actually a divi section so you can add any module or combination of modules you want in there. Next, you can get a simple HTML5 template from this Sitepoint post. el.css({ But the design will still work for tablet, but you may need to create some more room for those anchor links. This is the kind of thing that would be sweet to do in CSS … CSS. Has Arrived Even if I put the color as #000000, the fixed sidebar overrides the footer’s content: I did some Googling but thought that I’d ask here as well. That would be great. From the front end Divi Builder, create a new section and drag it to the very top of the layout. Okay firstly lets develop the header for the page. Webpages with a fixed sidebar and a scrollable content area are quite popular. Since this will be an anchor link that jumps to a different section of the page, make sure the CSS ID (the text after the “#”) in unique and corresponds to the name you will give your section later on. //]]> Did you miss out on our Black Friday sale? $(function() { var $sidebar = $("#sidebar"), $window = $(window), offset = $sidebar.offset(), topPadding = 15; $window.scroll(function() { if ($window.scrollTop() > offset.top) { $sidebar.stop().animate({ marginTop: $window.scrollTop() - offset.top + topPadding }); } else { $sidebar.stop().animate({ marginTop: 0 }); } }); }); Sorry, I haven’t looked into that solution. On each of the remaining sections throughout your page layout, paste the custom margin to the section by right clicking on the section and clicking “Paste Custom Margin”. if (stickyTop < windowTop) { The plugin adds a Fixed Widget option in all of your widgets. Happy New Year my friend! The WP Sticky Menu (or Sticky Header) On Scroll plugin allows you to make any element on your pages “sticky” as soon as it hits the top of the page when you scroll down. Now all we have to do is hide (or disable) the section on smartphone. Features of This Sticky Sidebar Widget Trick, Steps to Make any Blogger Widget Sticky [Fixed] in Sidebar on Scroll, Customization to Make Sidebar Widget Sticky in Blogger. Don’t forget to subscribe to get latest free updates direct into your mailbox for free. This widget will not overlap on footer bar. Because mine is going straight to the linked section but without this nice transition. Also, you could combine this technique with a sticky plugin to gain more control. Preview 110+ Premade Websites & 880+ Premade Layouts. But if you want to keep the section height at 100%, an easy fix is to take out the section background color. A common feature request is to keep all the sidebar items “stacked” visually on the screen. So we are going to use some very simp… Header navigation will stick at the top of the page but when the user scrolls down the webpage, the main navigation will come with across.. Though also one of the more tricky solutions as you'll need to get the offset's correct and make sure the sidebar doesn't scroll under your content (such as your header and footer containers). We are also giving away $800,000... Jason, again, my friend, you ALWAYS rock when it comes to fresh, different design techniques. The wait is over! Is there an easy way to get the sidebar to stop at the footer? var limit = $(‘#footer-wrapper‘).offset().top – stickyHeight – 1; var stickyHeight = $(‘#PopularPosts1‘).height(); It’s working now. Change the button text to read “Introduction”. Like a document outline, this combination makes your web page content more accessible and easier to read. Scrolling down - header leaves sticky mode as it reaches the bottom of the section and its bottom sentinel crosses the top of the container. Select the option to “Choose a Premade Layout”. Thank you and Happy New Year!! $(window).scroll(function() { I think this is one of the best things you can do when starting to write CSS, to not find any surprises ("huh? STEP 1] Login to your Blogger account and select your blog in which you want to apply this technique. When you scroll down the page, the sidebar doesn't follow. A CSS ID can be applied to inline text, modules, rows, or sections. To find the sidebar height, right click on the first text from the sidebar and inspect the code. STEP 6] Change 320 (This is the width of the widget in pixel.) I'm blogging for 2 years, and here on My Blogger Guides, I'm sharing my what I learned in these past two years. The header, footer, and sidebar are sticky. First thing you need to do is install and activate the Q2W3 Fixed Widget (Sticky Widget) plugin. }); 1 License. Is there any way to do this using toggles containing navigation/anchor links? In this trick, I’ve used CSS language and jQuery language which is different from other blogs, and you’ll not face any bug after using this. if ( $(window).scrollTop() + $(window).height() > footertotop) { $('#ad_sidebar').css('margin-top', 0-difference); } else { $('#ad_sidebar').css('margin-top', 0);} }); Here we are using margin-top css style which pulls up the floating css elements upwards when the footer is reached. Here is a sneak peak of what we will be building together. The name of the CSS ID can be anything you want. This Bootstrap sidebar is situated on the left half … The overflow-y CSS property sets what shows when content overflows a block-level element's top and bottom edges. I first include a reset.cssto wipe out any browser default styles. We will circle back to this section turn it into a fixed sidebar in a bit. – On Scroll Fixed (Sticky) Blogger Sidebar Widgets are very helpful to promote any content. Although this is commonly used to keep menus at the top of your page to create floating menus, the plugin allows you to make any element sticky. Custom Padding (desktop): 10% left, 10% right if ($(‘#PopularPosts1‘).length) { Open the settings of the second section (the one directly under our anchor link buttons) and add the following custom margin: Now before you save the settings, right click on the Custom Margin option and click “Copy Custom Margin” and the save the settings.