
內容簡介
此外掛讓您在靜態頁面中設置背景圖片或背景視頻。
背景圖片/視頻可以採用整個頁面或文檔中的特定部分。您可以在任何給定的頁面的各個部分設置多個背景圖片/視頻。
聚焦於反應靈敏度,可以保證在每個布局斷點上使用正確的媒體大小,符合您的活動主題。
如果應用於body標記,包裝器或覆蓋視口的當前頁面的任何HTML元素,背景圖片/視頻可以佔滿整個屏幕。
為了使內容在背景上有足夠的對比度,將疊加層應用於背景圖片/視頻。
本插件比Gutenberg編輯器的“Cover”和“Media&Text”塊更具控制力和靈活性。
安裝並嘗試它,然後撰寫評論以幫助我們改進這個插件。我們感謝您的反饋。
設置
從WordPress控制面板的左側邊欄導航中,尋找標記為“WPXP BG Media”的選單項,然後點擊打開。
在打開的頁面的“儀表板”選項卡下的信息中,您可以獲得足夠的詳細信息,以定義“設置”和“疊加層”選項卡中的設置。
“設置”選項卡是您指定活動主題的佈局斷點的地方。這允許插件生成與這些斷點匹配的CSS媒體查詢。然後,對於每個斷點,將創建一個與該布局斷點匹配的寬度的背景圖像的副本。您所要做的就是上傳到WordPress媒體庫中一個足夠大的原始圖像,以便在大型顯示屏(例如4K)上全屏使用。
在“疊加層”選項卡中,您可以定義“背景媒體疊加層”和“內容疊加層”的背景顏色和不透明度。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Lets you to set background images or a background videos on static pages.
The background image/video can apply to whole page or just a specific section in that document. You can set as many background images/videos to a various sections of any given page.
Responsiveness is baked in to ensure the right media size is used at each layout breakpoint matching your active theme.
The background image/video can fill the entire screen if applied to the body tag, the wrapper or any HTML element of the current page that covers the viewport.
An overlay is applied to the background image/video to give enough contrast to the content over that background.
This plugin gives you more control and flexibility than the Gutenberg editor’s “Cover” and “Media & Text” blocks.
Install and try it then write a review to help us improve this plugin. We appreciate your feedback.
Settings
From the left sidebar navigation of your WordPress control panel, look for the menu item labeled “WPXP BG Media” then click on it to open.
The information under the “Dashboard” tab of the opened page gives you enough details on how to define settings in the “Settings” and “Overlay” tabs.
The “Settings” tab is where you specify your active theme’s layout breakpoints. This allows the plugins to generate CSS media queries to match those breakpoints. Then for each breakpoint, a copy of the background image will be created with a width matching that layout breakpoint. All you have to do is upload to your WordPress media library an original image that is large enough for use at fullscreen on large displays (e.g. 4K).
In the “Overlay” tab, you define the background color and opacity of the “Background Media Overlay” and the “Content Overlay”.
