Title: Text Size Adjust
Author: bokumin
Published: <strong>2024 年 11 月 22 日</strong>
Last modified: 2024 年 11 月 22 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/text-size-adjust/assets/icon-256x256.png?rev=3194719)

# Text Size Adjust

 作者：[bokumin](https://profiles.wordpress.org/bokumin/)

[下载](https://downloads.wordpress.org/plugin/text-size-adjust.1.1.2.zip)

 * [详情](https://cn.wordpress.org/plugins/text-size-adjust/#description)
 * [评价](https://cn.wordpress.org/plugins/text-size-adjust/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/text-size-adjust/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/text-size-adjust/#developers)

 [支持](https://wordpress.org/support/plugin/text-size-adjust/)

## 描述

Text Size Adjust is a powerful WordPress plugin that allows you to globally configure
text sizes for your website. It provides separate configurations for desktop and
mobile views, ensuring optimal readability across all devices.

#### Key Features

 * Seven predefined text sizes (XXS, XS, S, M, L, XL, XXL)
 * Separate desktop (769px and above) and mobile (768px and below) configurations
 * Real-time preview in the settings panel
 * Integration with the WordPress block editor
 * Compatible with default WordPress font size classes
 * Simple class-based implementation
 * Selective page-specific text size adjustments through admin panel checkboxes

#### Usage

 1. In the Block Editor:
 2.  * Select any text block
     * Use the “Text Size Settings” panel in the sidebar
     * Choose from available size options
 3. In HTML/CSS:
 4.  * Add the class `has-text-[size]` to any element
     * Available sizes: xxs, xs, s, m, l, xl, xxl
     * Example: `<p class="has-text-m">Medium text</p>`
 5. In Admin Settings:
 6.  * Navigate to Settings > Text Size Settings
     * Configure global text sizes for desktop and mobile
     * Use checkboxes to select specific pages where text size adjustments should apply

#### WordPress Font Size Compatibility

The plugin automatically maps WordPress default font size classes to corresponding
plugin sizes:

 * has-small-font-size  has-text-s
 * has-medium-font-size  has-text-m
 * has-large-font-size  has-text-l
 * has-x-large-font-size  has-text-xl
 * has-xx-large-font-size  has-text-xxl

### Default Size Values

Desktop (769px and above):
 * XXS: 12px * XS: 13px * S: 14px * M: 16px * L: 18px*
XL: 24px * XXL: 32px

Mobile (768px and below):
 * XXS: 10px * XS: 11px * S: 12px * M: 14px * L: 16px *
XL: 18px * XXL: 20px

## 安装

 1. Upload the `text-size-adjust` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings > Text Size Settings to configure your text sizes
 4. Select the pages where you want to apply text size adjustments

## 常见问题

### Can I use this with any theme?

Yes, the plugin works with any WordPress theme that follows standard practices.

### Will this affect existing content?

No, the plugin only affects content where you specifically use the text size classes
or settings.

### Can I override the settings for specific elements?

Yes, you can override the plugin’s styles using more specific CSS selectors in your
theme.

### How do I set different sizes for mobile and desktop?

Navigate to Settings > Text Size Settings, where you’ll find separate configuration
sections for desktop and mobile views.

### Can I choose which pages use the text size adjustments?

Yes, in version 1.1.0 we’ve added checkboxes in the admin panel that allow you to
select specific pages where the text size adjustments should be applied.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Text Size Adjust」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ bokumin ](https://profiles.wordpress.org/bokumin/)

[帮助将「Text Size Adjust」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/text-size-adjust)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/text-size-adjust/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/text-size-adjust/)，或通过[RSS](https://plugins.trac.wordpress.org/log/text-size-adjust/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/text-size-adjust/)。

## 更新日志

#### 1.1.0

 * Added page selection feature through admin panel checkboxes
 * Improved settings page layout
 * Added page-specific text size control

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.1.2**
 *  最后更新：**2 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/text-size-adjust/)
 * 标签
 * [editor](https://cn.wordpress.org/plugins/tags/editor/)[font size](https://cn.wordpress.org/plugins/tags/font-size/)
   [responsive](https://cn.wordpress.org/plugins/tags/responsive/)[text size](https://cn.wordpress.org/plugins/tags/text-size/)
   [typography](https://cn.wordpress.org/plugins/tags/typography/)
 *  [高级视图](https://cn.wordpress.org/plugins/text-size-adjust/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/text-size-adjust/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/text-size-adjust/reviews/)

## 贡献者

 *   [ bokumin ](https://profiles.wordpress.org/bokumin/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/text-size-adjust/)