Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在wordpress中将标题文本拆分为两行以上?_Wordpress_Wordpress Theming - Fatal编程技术网

如何在wordpress中将标题文本拆分为两行以上?

如何在wordpress中将标题文本拆分为两行以上?,wordpress,wordpress-theming,Wordpress,Wordpress Theming,我是学习wordpress网站开发的新手。 我写的标题和它被显示在一行我想相同的文本显示在多行 网站url为: 我的名字是:迈尔麻省理工学院(企业信息与计算服务) 我希望此标题以以下方式显示 MAEER'S MIT(First Line) Corporate Information & Computing Services(second Line) (CICS)(last line)) 我该怎么做呢。 非常感谢您的帮助您需要以以下方式编辑header.php文件代码: 查找Div cl

我是学习wordpress网站开发的新手。 我写的标题和它被显示在一行我想相同的文本显示在多行

网站url为:

我的名字是:迈尔麻省理工学院(企业信息与计算服务)

我希望此标题以以下方式显示

MAEER'S MIT(First Line)
Corporate Information & Computing Services(second Line)
(CICS)(last line))
我该怎么做呢。
非常感谢您的帮助

您需要以以下方式编辑header.php文件代码: 查找Div class=“支持文本”

并添加以下内容

<div class="support-text">
  MAEER'S MIT <br>(Corporate Information &amp; Computing Services)<br>CICS          
</div>

MAEER的MIT
(企业信息与计算服务)
CICS
请注意,最佳做法是使用wordpress子主题对核心主题文件进行更改,就像使用子主题一样,在更新父主题时,您不会丢失所做的保管更改。

尝试以下操作:

    Use <br /> tag in between words.

    MAEER'S MIT <br />
    Corporate Information & Computing Services <br />
    (CICS) <br />

Add title like this
在单词之间使用
标记。 迈尔麻省理工学院
企业信息与计算服务
(CICS)
添加这样的标题
  • 谢谢