Allows you to control the background-size of your main background image from the comfort of the customizer, using predetermined values or custom CSS.
Author: | Chris Borchert (profile at wordpress.org) |
WordPress version required: | 3.4.0 |
WordPress version tested: | 4.2.3 |
Plugin version: | 0.0.1 |
Added to WordPress repository: | 26-07-2015 |
Last updated: | 26-07-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | https://github.com/cborchert/wp_background_si... |
Total downloads: | 2 781 |
Active installs: | 80+ |
Click to start download |
This plugin for WordPress adds a background-size controller to the Background Image section in the WordPress Customizer.
You can access the new controller by going to Appearance > Customize from the Dashboard, and clicking on the Background Image section.
Once you've added your custom background image, you can set your background-image size to: - "Cover": As large as possible; fills entire view, with cropping. - "Contain": As large as possible, without cropping; fits inside of view. - "100% width": Width fits view perfectly, height may be smaller or larger than view (equivalent to css '100% auto'). - "100% height": Height fits view perfectly, width may be smaller or larger than view (equivalent to css 'auto 100%'). - "Inherit": Sets background size to whatever parent element is set to (html, in this case). - "Custom": Allows you to put in your own css to be applied in the section called "CSS for background-size (if 'custom' selected)."
To learn more about the CSS background-size property, go to:
https://developer.mozilla.org/en-US/docs/Web/CSS/background-size or http://www.w3schools.com/cssref/css3_pr_background-size.asp
Screenshots
ChangeLog