Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

WPXP Background Media

Beskrivning

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

  1. 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.

  2. 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.

  3. 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).

  4. In the ”Overlay” tab, you define the background color and opacity of the ”Background Media Overlay” and the ”Content Overlay”.

Skärmdumpar

  • Dashboard Tab of WPXP BG Media
  • Settings Tab of WPXP BG Media
  • Overlay Tab of WPXP BG Media
  • Code editor
  • Fieldset of Background Media Metabox under page editor.
  • Background Image that covers 50% of container on large screens.
  • Background video with CSS style for responsive display.
  • Multiple fieldsets on Background Media Metabox
  • Background image applied to "#home .intro" section. It covers web browser Viewport and has overlay on it. Then a second overlay named "Content overlay" of 1200px width for contrast between the background image and the copy.
  • Background image covers the right half of section while copy is displayed on the left half of that section.

Installation

  1. Install the plugin to your WordPress website

  2. Activate the plugin

  3. Locate the ”WPXP BG Media” on the left sidebar navigation of your WordPress control panel then click on it. The ”Dashboard” section gives you more details about each item inside the other two tab. The ”Settings” tag lets you fill out your active theme’s layout breakpoints. Those settings are use to generate a stylesheet with all the media queries for each background image you later created. The ”Overlay” tab is for setting the background and content overlay.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”WPXP Background Media” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”WPXP Background Media” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.