Download Files<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"One classic layout conundrum is how much stuff to put in a sidebar. Ideally the height of the main content area and the sidebar are about the same, to avoid either area having a large blank area which can be strange looking and a waste of good web real estate. Go light on sidebar content […]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[4],"tags":[],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":325921,"url":"https:\/\/css-tricks.com\/a-dynamically-sized-sticky-sidebar-with-html-and-css\/","url_meta":{"origin":8167,"position":0},"title":"A Dynamically-Sized Sticky Sidebar with HTML and CSS","date":"November 20, 2020","format":false,"excerpt":"Creating page content that sticks to the viewport as you scroll, something like a jump-to-anchor menu or section headings, has never been easier. Throw a position: sticky into your CSS ruleset, set the directional offset (e.g. top: 0) and you\u2019re ready to impress your teammates with minimal effort. Check out\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/11\/sticky-sidebar.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2451,"url":"https:\/\/css-tricks.com\/design-refresh\/","url_meta":{"origin":8167,"position":1},"title":"Design Refresh","date":"March 27, 2009","format":false,"excerpt":"It was time for another design refresh! The best part about this one, for me, was that all the work I did last time made this one very easy to do. As usual, it's not extremely drastic. Evolutionary, not revolutionary. The old one wasn't bad, I just felt playing and\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/csstricks-uploads\/mar2009design.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":316124,"url":"https:\/\/css-tricks.com\/refreshing-sidebar-for-2020\/","url_meta":{"origin":8167,"position":2},"title":"Refreshing Sidebar for 2020","date":"July 2, 2020","format":false,"excerpt":"The new design for Sidebar is lovely. I like how it goes even deeper with the sticky elements than the last design. But even more notably, Sacha Greif has been posting five links per day to Sidebar since 2012. That's a remarkable achievement.","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/07\/sidebar-io.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":316417,"url":"https:\/\/css-tricks.com\/memorize-scroll-position-across-page-loads\/","url_meta":{"origin":8167,"position":3},"title":"Memorize Scroll Position Across Page Loads","date":"July 9, 2020","format":false,"excerpt":"Hakim El Hattab tweeted a really nice little UX enhancement for a static site that includes a scrollable sidebar of navigation. https:\/\/twitter.com\/hakimel\/status\/1262337065670316033 The trick is to throw the scroll position into localStorage right before the page is exited, and when loaded, grab that value and scroll to it. I'll retype\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/07\/localstorage-sidebar-scroll.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3945,"url":"https:\/\/css-tricks.com\/design-refresh-version-5\/","url_meta":{"origin":8167,"position":4},"title":"Design Refresh (Version 5)","date":"September 8, 2009","format":false,"excerpt":"The new design has been rolled out. Nothing to shockingly different I hope, just a refresher. It's kind of hard to say, but I think this is the 5th significant iteration of the design at this point. The lines are fuzzy since the design evolves in between those iterations quite\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/csstricks-uploads\/oldv4.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4855,"url":"https:\/\/css-tricks.com\/scrollfollow-sidebar\/","url_meta":{"origin":8167,"position":5},"title":"Scroll\/Follow Sidebar, Multiple Techniques","date":"November 30, 2009","format":false,"excerpt":"Really simple concept today folks! A sidebar that \"follows\" as you scroll down a page. There are a number of ways to go about it. We'll cover two: CSS and JavaScript (jQuery) with a bonus CSS trick. View Demo \u00a0 Download Files CSS The easiest way to handle this is\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/csstricks-uploads\/scrollingsidebar.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"featured_media_src_url":null,"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/8167"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=8167"}],"version-history":[{"count":10,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/8167\/revisions"}],"predecessor-version":[{"id":161307,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/8167\/revisions\/161307"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=8167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=8167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=8167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}