[WordPress] 外掛分享: Canvas Mobile Menu Addition

首頁外掛目錄 › Canvas Mobile Menu Addition
10+
安裝啟用
★★★★★
5/5 分(3 則評價)
4501 天前
最後更新
問題解決
WordPress 3.0.1+ v1.1 上架:2013-11-20

內容簡介

WordPress WooThemes Canvas Mobile Menu Addition 是一個 WordPress 外掛。此外掛會在手機模式下隱藏所有子選單,僅在點擊時才顯示。

這會將 display:none 屬性添加到所有子選單中,以便在手機模式下僅顯示頂層選單。

當點擊頂層選單時,它會在下面顯示子選單。如果您再次點擊頂層選單,它將跳轉到頂層選單的 URL 目標。

此外掛可以遞迴運行,因此可以讓包含子選單的子選單以同樣方式運作。

** 如果您在手機模式下保持菜單打開並調整窗口大小到另一個模式,有時會出現 CSS 錯誤。此外掛會在寬度調整時關閉菜單以解決此問題。

任意部分

需要使用 WooThemes Canvas 主題或子主題。

簡短的 Markdown 示例

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Canvas Mobile Menu Addition」→ 直接安裝(推薦)

原文外掛簡介

WordPress WooThemes’ Canvas Mobile Menu Addition. Hides sub-menus in mobile mode and shows them only when clicked.
This will add the display:none property to all sub-menus so that only the top-level menus are shown in mobile mode.
When the top-level menu is clicked it will show the sub-menus below it. If you click on the top-level menu a 2nd time it will route to the top-level menu URL destination.
This plugin works recursively, so this will allow sub-menus which have sub-menus within them to behave the same way.
**There is also sometimes a CSS glitch if you leave the menu open in mobile mode and then resize the window to a another mode, this plugin fixes that issue by closing the menu whenever the width is resized.
Arbitrary section
Requires WooThemes Canvas theme or child-theme.
A brief Markdown Example

延伸相關外掛

文章
Filter
Mastodon