Changeset 241736
- Timestamp:
- 09/12/2024 10:38:55 AM (15 months ago)
- Location:
- extendable/2.0.13
- Files:
-
- 3 edited
- 1 copied
- . (copied) (copied from extendable/2.0.12)
- readme.txt (modified) (2 diffs)
- style.css (modified) (2 diffs)
- templates/no-title-sticky-header.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
extendable/2.0.13/readme.txt
r241665 r241736 4 4 Tested up to: 6.6 5 5 Requires PHP: 7.4 6 Stable tag: 2.0.1 26 Stable tag: 2.0.13 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 14 14 == Changelog == 15 15 16 = 2.0.13 - 2024-09-12 = 17 - Add: scroll margin for sticky header page content 18 16 19 = 2.0.12 - 2024-09-11 = 17 - Add no-title-sticky-header.html template18 - Add Smooth scrolling20 - Add: no-title-sticky-header.html template 21 - Add: Smooth scrolling 19 22 20 23 = 2.0.11 - 2024-08-22 = -
extendable/2.0.13/style.css
r241665 r241736 8 8 Tested up to: 6.6 9 9 Requires PHP: 7.4 10 Version: 2.0.1 210 Version: 2.0.13 11 11 License: GNU General Public License v2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 236 236 visibility: hidden; 237 237 } 238 239 /* 240 * Adds offset for sticky header overlap 241 */ 242 243 .sticky-header-offset-container .entry-content > .wp-block-group { 244 scroll-margin-top: var(--wp--preset--spacing--60); 245 } -
extendable/2.0.13/templates/no-title-sticky-header.html
r241665 r241736 1 <!-- wp:group {"tagName":"header","metadata":{"name":"Sticky Header"},"style":{"position":{"type":"sticky","top":"0px"}," spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"border":{"bottom":{"color":"#8585851f","width":"1px"},"top":{},"right":{},"left":{}}},"backgroundColor":"background","layout":{"type":"default"}} -->1 <!-- wp:group {"tagName":"header","metadata":{"name":"Sticky Header"},"style":{"position":{"type":"sticky","top":"0px"},"border":{"bottom":{"color":"#8585851f","width":"1px"},"top":[],"right":[],"left":[]},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"background","layout":{"type":"default"}} --> 2 2 <header 3 3 class="wp-block-group has-background-background-color has-background" … … 11 11 " 12 12 > 13 <!-- wp:template-part {"slug":"header","t agName":"header"} /-->13 <!-- wp:template-part {"slug":"header","theme":"extendable","tagName":"header"} /--> 14 14 </header> 15 15 <!-- /wp:group --> 16 16 17 <!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} --> 18 <main class="wp-block-group" style="margin-top: 0px; margin-bottom: 0px"> 17 <!-- wp:group {"tagName":"main","className":"sticky-header-offset-container","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} --> 18 <main 19 class="wp-block-group sticky-header-offset-container" 20 style="margin-top: 0px; margin-bottom: 0px" 21 > 19 22 <!-- wp:post-content {"layout":{"type":"constrained"}} /--> 20 23 </main>
Note: See TracChangeset for help on using the changeset viewer.