{"id":449,"date":"2022-05-06T17:43:30","date_gmt":"2022-05-06T09:43:30","guid":{"rendered":"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/"},"modified":"2022-05-11T17:17:09","modified_gmt":"2022-05-11T09:17:09","slug":"how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0","status":"publish","type":"docs","link":"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/","title":{"rendered":"\u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f"},"content":{"rendered":"\n<p>\u6709\u65f6\uff0c\u60a8\u7684\u7f51\u7ad9\u4e0a\u53ef\u80fd\u6709\u51e0\u884c\u6587\u672c\u6216\u5185\u5bb9\u975e\u5e38\u5c11\u7684\u9875\u9762\u3002<\/p>\n\n\n\n<p>\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u9875\u811a\u4f1a\u663e\u793a\u5728\u9875\u9762\u4e4b\u95f4\u67d0\u5904\u7684\u5185\u5bb9\u4e0b\u65b9\u3002\u8fd9\u5e76\u6ca1\u6709\u7ed9\u9875\u9762\u4e00\u4e2a\u6f02\u4eae\u7684\u5916\u89c2\u3002<\/p>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff0c\u8fd9\u6837\u65e0\u8bba\u60a8\u7684\u5185\u5bb9\u957f\u5ea6\u662f\u591a\u5c11\uff0c\u9875\u811a\u90fd\u5c06\u7c98\u8d34\u5728\u9875\u9762\u7684\u672b\u5c3e\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a href=\"https:\/\/wpastra.com\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less\/#option-with-astra-theme-\">&nbsp;\u5e26\u6709<strong>Astra \u4e3b\u9898<\/strong>\u7684\u9009\u9879\u2013<\/a><\/h4>\n\n\n\n<p>\u5c06\u4ee5\u4e0b\u8fc7\u6ee4\u5668\u6dfb\u52a0\u5230<a href=\"https:\/\/wpastra.com\/docs\/add-custom-php-code\/#3.-in-child-theme\">\u5b50\u4e3b\u9898\u7684 functions.php<\/a>\u6587\u4ef6\u4e2d\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php \/\/ don't copy this line in your code.\r\nadd_action( 'wp_footer', 'astra_footer_align_bottom' );\r\nfunction astra_footer_align_bottom () {\r\n\t?>\r\n\t&lt;script type=\"text\/javascript\">\r\n\t\tdocument.addEventListener(\r\n\t\t\t\"DOMContentLoaded\",\r\n\t\t\tfunction() {\r\n\t\t\t\tfullHeight();\r\n\t\t\t},\r\n\t\t\tfalse\r\n\t\t\t);\r\n\t\tfunction fullHeight() {\r\n\t\t\tvar headerHeight = document.querySelector(\"header\").clientHeight;\r\n\t\t\tvar footerHeight = document.querySelector(\"footer\").clientHeight;\r\n\t\t\tvar headerFooter = headerHeight + footerHeight;\r\n\t\t\tvar content = document.querySelector(\"#content\");\r\n\t\t\tcontent.style.minHeight = \"calc( 100vh - \" + headerFooter + \"px )\";\r\n\t\t}\r\n\t&lt;\/script>\r\n\t&lt;?php\r\n}<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a href=\"https:\/\/wpastra.com\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less\/#option-with-astra-pro-addon-plugin-\">&nbsp;\u5e26\u6709<strong>Astra Pro Addon<\/strong>\u63d2\u4ef6\u7684\u9009\u9879 \u2013<\/a><\/h4>\n\n\n\n<p><a href=\"https:\/\/wpastra.com\/docs\/custom-layouts-pro\/\">Astra Pro \u7684\u81ea\u5b9a\u4e49\u5e03\u5c40<\/a>\u63d2\u4ef6\u63d0\u4f9b\u7c98\u6027\u9875\u811a\u9009\u9879\u3002<\/p>\n\n\n\n<ul><li>\u9996\u5148\uff0c\u60a8\u9700\u8981<a href=\"https:\/\/wpastra.com\/wp-content\/uploads\/2020\/04\/ast-locate-code-editor-option.png\">\u542f\u7528\u4ee3\u7801\u7f16\u8f91\u5668<\/a>\u4ee5\u5728\u81ea\u5b9a\u4e49\u5e03\u5c40\u4e2d\u63d2\u5165\u4ee3\u7801<\/li><li>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u9700\u8981\u8bbe\u8ba1\u4e00\u4e2a\u9875\u811a\u5e76\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u5c06\u5176\u8bbe\u7f6e\u4e3a\u7f6e\u9876\u3002\u5c06 Layout \u9009\u62e9\u4e3a<strong>Hooks<\/strong>\uff0c\u5c06<strong>Action \u9009\u62e9\u4e3a wp_footer<\/strong>\u3002<\/li><li>\u4f7f\u7528<strong>Display On<\/strong>\u8bbe\u7f6e\uff0c\u60a8\u53ef\u4ee5\u5c06\u5176\u8bbe\u7f6e\u4e3a\u663e\u793a\u5728\u7279\u5b9a\u9875\u9762\u6216\u6574\u4e2a\u7f51\u7ad9\u4e0a\u3002&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wpastra.com\/wp-content\/uploads\/2018\/07\/ast-add-custom-code-sticky-footer.png\"><img decoding=\"async\" src=\"https:\/\/wpastra.com\/wp-content\/uploads\/2018\/07\/ast-add-custom-code-sticky-footer-1024x833.png\" alt=\"\u5728\u7c98\u6027\u9875\u811a\u4e2d\u6dfb\u52a0\u81ea\u5b9a\u4e49\u4ee3\u7801\" class=\"wp-image-58967\"\/><\/a><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u662f\u53ef\u4ee5\u7c98\u8d34\u5728\u81ea\u5b9a\u4e49\u4ee3\u7801\u7f16\u8f91\u5668\u4e0b\u7684\u4e0a\u8ff0\u4ee3\u7801\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;script type=\"text\/javascript\"&gt;\n\tdocument.addEventListener(\n\t\t\"DOMContentLoaded\",\n\t\tfunction() {\n\t\t\tfullHeight();\n\t\t},\n\t\tfalse\n\t\t);\n\t\tfunction fullHeight() {\n\t\t\tvar headerHeight = document.querySelector(\"header\").clientHeight;\n\t\t\tvar footerHeight = document.querySelector(\"footer\").clientHeight;\n\t\t\tvar headerFooter = headerHeight + footerHeight;\n\t\t\tvar content = document.querySelector(\"#content\");\n\t\t\tcontent.style.minHeight = \"calc( 100vh - \" + headerFooter + \"px )\";\n\t\t}\n&lt;\/script&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u65f6\uff0c\u60a8\u7684\u7f51\u7ad9\u4e0a\u53ef\u80fd\u6709\u51e0\u884c\u6587\u672c\u6216\u5185\u5bb9\u975e\u5e38\u5c11\u7684\u9875\u9762\u3002 \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u9875\u811a\u4f1a\u663e\u793a\u5728\u9875\u9762\u4e4b\u95f4\u67d0\u5904\u7684\u5185\u5bb9\u4e0b\u65b9\u3002\u8fd9\u5e76\u6ca1\u6709 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/\"> <span class=\"screen-reader-text\">\u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"doc_category":[43],"doc_tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f - ASTRA\u4e2d\u6587<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-\u9875\u9762\u5185\u5bb9\u5f88\u5c11\u65f6\uff0c\u5982\u4f55\u7c98\u8d34\u9875\u811a\u5230\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f - ASTRA\u4e2d\u6587\" \/>\n<meta property=\"og:description\" content=\"\u6709\u65f6\uff0c\u60a8\u7684\u7f51\u7ad9\u4e0a\u53ef\u80fd\u6709\u51e0\u884c\u6587\u672c\u6216\u5185\u5bb9\u975e\u5e38\u5c11\u7684\u9875\u9762\u3002 \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u9875\u811a\u4f1a\u663e\u793a\u5728\u9875\u9762\u4e4b\u95f4\u67d0\u5904\u7684\u5185\u5bb9\u4e0b\u65b9\u3002\u8fd9\u5e76\u6ca1\u6709 &hellip; \u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f Read More \u00bb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-\u9875\u9762\u5185\u5bb9\u5f88\u5c11\u65f6\uff0c\u5982\u4f55\u7c98\u8d34\u9875\u811a\u5230\/\" \/>\n<meta property=\"og:site_name\" content=\"ASTRA\u4e2d\u6587\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-11T09:17:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpastra.com\/wp-content\/uploads\/2018\/07\/ast-add-custom-code-sticky-footer-1024x833.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/\",\"url\":\"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/\",\"name\":\"\u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f - ASTRA\u4e2d\u6587\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/#website\"},\"datePublished\":\"2022-05-06T09:43:30+00:00\",\"dateModified\":\"2022-05-11T09:17:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/wpeyes.com\/astra\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/wpeyes.com\/astra\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpeyes.com\/astra\/#website\",\"url\":\"https:\/\/wpeyes.com\/astra\/\",\"name\":\"ASTRA\u4e2d\u6587\",\"description\":\"wpeyes\u6280\u672f\u89c6\u70b9\",\"publisher\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpeyes.com\/astra\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wpeyes.com\/astra\/#organization\",\"name\":\"ASTRA\u4e2d\u6587\",\"url\":\"https:\/\/wpeyes.com\/astra\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wpeyes.com\/astra\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/astra-icons-03.png\",\"contentUrl\":\"https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/astra-icons-03.png\",\"width\":500,\"height\":500,\"caption\":\"ASTRA\u4e2d\u6587\"},\"image\":{\"@id\":\"https:\/\/wpeyes.com\/astra\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f - ASTRA\u4e2d\u6587","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-\u9875\u9762\u5185\u5bb9\u5f88\u5c11\u65f6\uff0c\u5982\u4f55\u7c98\u8d34\u9875\u811a\u5230\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f - ASTRA\u4e2d\u6587","og_description":"\u6709\u65f6\uff0c\u60a8\u7684\u7f51\u7ad9\u4e0a\u53ef\u80fd\u6709\u51e0\u884c\u6587\u672c\u6216\u5185\u5bb9\u975e\u5e38\u5c11\u7684\u9875\u9762\u3002 \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u9875\u811a\u4f1a\u663e\u793a\u5728\u9875\u9762\u4e4b\u95f4\u67d0\u5904\u7684\u5185\u5bb9\u4e0b\u65b9\u3002\u8fd9\u5e76\u6ca1\u6709 &hellip; \u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f Read More \u00bb","og_url":"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-\u9875\u9762\u5185\u5bb9\u5f88\u5c11\u65f6\uff0c\u5982\u4f55\u7c98\u8d34\u9875\u811a\u5230\/","og_site_name":"ASTRA\u4e2d\u6587","article_modified_time":"2022-05-11T09:17:09+00:00","og_image":[{"url":"https:\/\/wpastra.com\/wp-content\/uploads\/2018\/07\/ast-add-custom-code-sticky-footer-1024x833.png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/","url":"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/","name":"\u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f - ASTRA\u4e2d\u6587","isPartOf":{"@id":"https:\/\/wpeyes.com\/astra\/#website"},"datePublished":"2022-05-06T09:43:30+00:00","dateModified":"2022-05-11T09:17:09+00:00","breadcrumb":{"@id":"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpeyes.com\/astra\/docs\/how-to-stick-footer-to-bottom-when-page-content-is-less-%e9%a1%b5%e9%9d%a2%e5%86%85%e5%ae%b9%e5%be%88%e5%b0%91%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e7%b2%98%e8%b4%b4%e9%a1%b5%e8%84%9a%e5%88%b0\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/wpeyes.com\/astra\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/wpeyes.com\/astra\/docs\/"},{"@type":"ListItem","position":3,"name":"\u5f53\u9875\u9762\u5185\u5bb9\u8f83\u5c11\u65f6\u5982\u4f55\u5c06\u9875\u811a\u7c98\u8d34\u5230\u5e95\u90e8\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/wpeyes.com\/astra\/#website","url":"https:\/\/wpeyes.com\/astra\/","name":"ASTRA\u4e2d\u6587","description":"wpeyes\u6280\u672f\u89c6\u70b9","publisher":{"@id":"https:\/\/wpeyes.com\/astra\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpeyes.com\/astra\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Organization","@id":"https:\/\/wpeyes.com\/astra\/#organization","name":"ASTRA\u4e2d\u6587","url":"https:\/\/wpeyes.com\/astra\/","logo":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wpeyes.com\/astra\/#\/schema\/logo\/image\/","url":"https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/astra-icons-03.png","contentUrl":"https:\/\/wpeyes.com\/astra\/wp-content\/uploads\/sites\/2\/2022\/05\/astra-icons-03.png","width":500,"height":500,"caption":"ASTRA\u4e2d\u6587"},"image":{"@id":"https:\/\/wpeyes.com\/astra\/#\/schema\/logo\/image\/"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"qmk","author_link":"https:\/\/wpeyes.com\/astra\/author\/qmk\/"},"uagb_comment_info":0,"uagb_excerpt":"\u6709\u65f6\uff0c\u60a8\u7684\u7f51\u7ad9\u4e0a\u53ef\u80fd\u6709\u51e0\u884c\u6587\u672c\u6216\u5185\u5bb9\u975e\u5e38\u5c11\u7684\u9875\u9762\u3002 \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u9875\u811a\u4f1a\u663e\u793a\u5728\u9875\u9762\u4e4b\u95f4\u67d0\u5904\u7684\u5185\u5bb9\u4e0b\u65b9\u3002\u8fd9\u5e76\u6ca1\u6709&hellip;","_links":{"self":[{"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/docs\/449"}],"collection":[{"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/comments?post=449"}],"version-history":[{"count":2,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/docs\/449\/revisions"}],"predecessor-version":[{"id":612,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/docs\/449\/revisions\/612"}],"wp:attachment":[{"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/doc_category?post=449"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpeyes.com\/astra\/wp-json\/wp\/v2\/doc_tag?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}