이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Add Background-Size to Customizer

설명

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

Notes

Notes:
*The plugin works by adding styles to the body.custom-background class. If the default custom-background support has been disrupted, then this plugin will not work.

스크린샷

  • Demonstrating custom CSS to create a tiled 100px by 100px background.
  • Demonstrating "Cover" option.

설치

  1. Upload add-bg-size-to-customizer.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

That’s it!

후기

모든 1 평가 읽기

기여자 & 개발자

“Add Background-Size to Customizer”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Add Background-Size to Customizer”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.0.1

  • Initial release