Custom Highlight Color

外掛說明

Many devices and browsers provide less-than-ideal colors when selecting text on sites. Users may select text for a variety of reasons, including as a habit when reading or to share a quote. This plugin lets you customize this highlight color with live preview in the customizer.

Note that themes can also customize this color, and in cases where the theme sets the color, this plugin would allow it to be changed to a different color.

螢幕擷圖

  • Highlight color option in the customizer.

安裝方式

  1. Take the easy route and install through the WordPress plugin adder OR
  2. Download the .zip file and upload the unzipped folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to Customize -> Colors and adjust the highlight color to your option. The highlight color is the selected text background color and the corresponding text color is set automatically.

常見問題集

Issues with Firefox

Within the customizer preview, selection colors may not be visible in Firefox. However, the custom highlight color should work once your changes are saved and you leave the customizer.

Browser Compatibility

Not all browsers handle text selection the same way. This plugin attempts to provide the most consistent experience possible, but some devices and browsers may display highlight colors differently.

Where’s the settings page?

Go to the customizer (Customize) and open the color section. The Highlight Color option will be available here alongside any color options added by your theme or other plugins.

使用者評論

2021 年 3 月 26 日
A life saver when you're not so good with css code, it does exactly what it says it does.
2020 年 6 月 29 日
Finally found a great and easy plugin to highlight text in the desired color. I use Avada theme and it works great in Firefox.
2018 年 9 月 5 日
This is an incredible plugin, really helpful. Just a heads up to the community, the color settings seems not to show up on certain themes, that doesn't mean the plugin doesn't work. Just switch to twenty fourteen theme and the option will show up. After configuring the text highlight settings, you can switch back to your preferred theme and your text highlight settings will still take effect on that new theme.
2017 年 3 月 23 日
Thank you for the good work. I appreciate people like you who do a fantastic job for Wordpress.
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Custom Highlight Color〉的開發相關工作。

參與者

將〈Custom Highlight Color〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

  • Adjust priorities to improve compatibility with the Twenty Nineteen theme.

1.0

  • Initial public release.