Use WordPress to create a one-page site

6 Views
Published
This lesson focuses on creating a one-page website using a front page template. You'll learn to build a fixed, sticky header, add in-page links and anchors for easy navigation, and implement smooth scrolling for a seamless user experience.

*Smooth scrolling code snippet*
@media (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
}
}

---
View this video and others at www.learn.wordpress.org.

00:00 Introduction
00:15 Example site
1:35 Links
2:24 Anchors
3:53 Sticky header
4:40 Smooth scrolling

Presenter: Wes Theron
Category
WordPress
Tags
2024, WordPress.tv
Be the first to comment