[WordPress] 外掛分享: OXP Mobile Fixed Background

首頁外掛目錄 › OXP Mobile Fixed Background
WordPress 外掛 OXP Mobile Fixed Background 的封面圖片
全新外掛
安裝啟用
尚無評分
26 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-08-04

內容簡介

OXP Mobile Fixed Background 外掛自動修復行動裝置上固定背景圖像的顯示問題,確保在各種佈景主題中都能呈現完美的視差效果,無需任何設定。

【主要功能】
• 即插即用,啟用後即可使用
• 輕量級,僅需一個小型 JavaScript 檔案
• 與任何佈景主題或頁面建構器相容
• 尊重原始標記,不改變元素結構
• 動態內容也能自動修復
• 桌面版不受影響,原生效果正常運作

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「OXP Mobile Fixed Background」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Desktop browsers render background-attachment: fixed beautifully — the classic parallax effect where the content scrolls over a still background. Mobile browsers don’t: iOS ignores the fixed attachment and paints the image against the element itself, so a tall section with background-size: cover shows up as a hugely stretched, blurry texture. Android is inconsistent at best.
OXP Mobile Fixed Background repairs this automatically. On touch devices it detects every element with a fixed background image, removes the broken background, and re-creates it on an invisible layer with the exact dimensions of the screen, fixed to the viewport and clipped to the element’s box. The result is what background-attachment: fixed was always supposed to look like — on any theme, with no configuration.
Features

Plug and play. Activate the plugin and you are done. There is no settings page, no options, nothing to configure.
Lightweight. One small JavaScript file with zero dependencies, loaded in the footer. No frontend CSS. On desktop the script exits on its first line.
Versatile. Works with any theme or page builder: detection runs on the browser’s computed styles, so it catches backgrounds set by stylesheets, inline styles, or builders alike. Multiple background layers are handled individually — only the fixed image layers are migrated; gradients, colors and scrolling layers stay untouched.
Respects your markup. Your elements are never wrapped, moved, or reordered. The only additions are one invisible background layer inside the affected element and the CSS needed to clip it.
Dynamic content covered. Sections injected after page load (sliders, AJAX content, popups) are detected and fixed too.
Desktop untouched. Where the native effect already works, the plugin does absolutely nothing.

延伸相關外掛

文章
Filter
Mastodon