跳到内容

Fixed And Sticky Header

v1.5.3

Arjun Thakur · 2017年1月17日 上架

Make your WordPress website header fixed or sticky while scrolling. Choose your header, scroll position, colors, height, and spacing.

正在使用
1,000+
评分
3.3 / 5
累计下载
6.5 万
最近更新
2026年9月6日
7 条评价需要 WordPress 4.1+已测试到 7.1.5PHP 5.6+

贡献者

截图

Fixed And Sticky Header
Fixed And Sticky Header
Fixed And Sticky Header

Keep your website header visible while visitors scroll.

Fixed And Sticky Header lets you make your existing WordPress website header fixed and sticky without replacing your theme’s header.

Choose the header you want to make sticky, set when it should become fixed while scrolling, and adjust its appearance to match your website.

The plugin is simple to configure and works with your existing WordPress theme.

Key Features

  • Fixed and sticky header – Keep your header visible as visitors scroll.
  • Choose your header – Select the header element you want to make fixed or sticky.
  • Scroll control – Choose how far visitors scroll before the header becomes fixed.
  • Background and text colors – Set the colors of your sticky header.
  • Header height and spacing – Adjust the height and padding around your header.

Finding Your Header

The plugin needs to know which part of your website should become fixed.

Your theme may use a selector such as:

  • .site-header
  • #masthead
  • .main-header

If you are unsure which selector to use, inspect your website’s header using your browser’s developer tools and identify the main header container.

Tip: Select the main header or header container rather than only the logo, menu, or an individual element inside the header.

The exact selector depends on your WordPress theme.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums