Title: Simple Sticky Header Menu
Author: Come2theweb
Published: <strong>2021 年 5 月 24 日</strong>
Last modified: 2026 年 9 月 28 日

---

搜索插件

![](https://ps.w.org/simple-sticky-header-menu/assets/banner-772x250.jpg?rev=2535763)

![](https://ps.w.org/simple-sticky-header-menu/assets/icon-256x256.jpg?rev=2535763)

# Simple Sticky Header Menu

 作者：[Come2theweb](https://profiles.wordpress.org/jitendra742744/)

[下载](https://downloads.wordpress.org/plugin/simple-sticky-header-menu.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-sticky-header-menu/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-sticky-header-menu/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/simple-sticky-header-menu/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/simple-sticky-header-menu/#developers)

 [支持](https://wordpress.org/support/plugin/simple-sticky-header-menu/)

## 描述

Make your website header sticky (fixed) on scroll with this lightweight plugin. 
Just install and activate – it works out of the box for most themes.

If the default header detection does not work, you can easily specify your header’s
ID or class name in the settings.

#### Features

 * Make header sticky / fixed on scroll
 * Option to set custom header ID or class
 * Option to reduce sticky header height
 * Option to add top space (prevent content overlap)
 * Fully responsive
 * Lightweight and no conflicts
 * Completely free – no ads or upsells

## 屏幕截图

[⌊Plugin settings page⌉⌊Plugin settings page⌉[

Plugin settings page

[⌊Sticky header working on frontend⌉⌊Sticky header working on frontend⌉[

Sticky header working on frontend

[[

[[

## 安装

 1. Upload the `simple-sticky-header-menu` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. That’s all – your header should now stick on scroll.
 4. (Optional) Go to **Sticky Header Menu** to set a custom header ID/class or adjust
    height.

## 常见问题

### How do I make my website header sticky?

Just install and activate the plugin. For most themes it works automatically.

### My header is still not sticky – what should I do?

Go to the plugin settings page and enter your header’s CSS ID (e.g. `#masthead`)
or class (e.g. `.site-header`).

### Can I reduce the height of the sticky header?

Yes. Enter a height value (e.g. `60px`) in the “Reduce Header Height” field.

### The header overlaps content at the top

Set the “Top Space” option to Yes. This adds padding to the body equal to the header
height.

### Where can I get support?

Contact us at support@come2theweb.com or info@come2theweb.com.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Simple Sticky Header Menu」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Come2theweb ](https://profiles.wordpress.org/jitendra742744/)

[帮助将「Simple Sticky Header Menu」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-sticky-header-menu)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/simple-sticky-header-menu/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/simple-sticky-header-menu/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/simple-sticky-header-menu/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/simple-sticky-header-menu/)。

## 更新日志

#### 1.1

 * Fixed all WordPress.org guideline issues
 * Removed activation email that sent site data without consent
 * Added proper sanitization callbacks for all settings
 * Added ABSPATH protection against direct file access
 * Fixed Plugin URI (was returning 404)
 * Updated Contributors, Tested up to 7.1, reduced tags to 5
 * Fixed short description length
 * Admin CSS now loads only on the plugin settings page
 * Improved output escaping and selector sanitization
 * Code cleanup

#### 1.0

 * Initial version

## 额外信息

 *  版本 **1.1**
 *  最后更新：**1 月前**
 *  活跃安装数量 **50+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **7.1.4**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-sticky-header-menu/)
 * 标签
 * [fixed header](https://cn.wordpress.org/plugins/tags/fixed-header/)[scroll header](https://cn.wordpress.org/plugins/tags/scroll-header/)
   [sticky header](https://cn.wordpress.org/plugins/tags/sticky-header/)[sticky menu](https://cn.wordpress.org/plugins/tags/sticky-menu/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-sticky-header-menu/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/simple-sticky-header-menu/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-sticky-header-menu/reviews/)

## 贡献者

 *   [ Come2theweb ](https://profiles.wordpress.org/jitendra742744/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/simple-sticky-header-menu/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://come2theweb.com/)