Free Theme Parallaxsome不支持Easy Google Fonts Wordpress插件 [英] Easy Google Fonts Wordpress Plugin not supporting with in Free Theme Parallaxsome

查看:106
本文介绍了Free Theme Parallaxsome不支持Easy Google Fonts Wordpress插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个带有免费主题的wordpress网站上工作,我想更改网站标题,主菜单或特定div菜单的字体样式.我尝试安装Easy Google Fonts插件,但主题不支持它.当我激活它时,显示以下错误

I am working in a website on wordpress with a free theme and I want to change font styles of site title, main menu or menus of specific divs. I tried to install Easy Google Fonts plugin but theme is not supporting it. When I activate it following error is showing

致命错误:在386行上的…wp-content \ themes \ parallaxsome \ inc \ customizer \ parallaxsome-customizer-classes.php中找不到类"WP_Customize_Section"

Fatal error: Class ‘WP_Customize_Section’ not found in …wp-content\themes\parallaxsome\inc\customizer\parallaxsome-customizer-classes.php on line 386

我从主题作者那里询问了这个问题,他让我知道与插件作者联系.

I asked about it from theme author and he let me know to contact plugin author.

https://accesspressthemes.com/support/topic/i-want-to-change-font-family-of-site-title-and-main-menu/#post-70747

此后,我问Easy Google Fonts的插件作者并等待答复. https://wordpress.org/support/topic/plugin-is-not -supporting/

After that I asked plugin author of Easy Google Fonts and waiting for reply. https://wordpress.org/support/topic/plugin-is-not-supporting/

请让我知道解决方案.如果有人知道.

Please let me know the solution. If some body knows.

提前谢谢!

推荐答案

一种解决方案是在主题的style.css文件中对更改进行硬编码.

One solution would be to hard code your changes in the theme's style.css file.

您可以在以下路径下找到文件-wp-content>主题> yourtheme> style.css

You can find the file following this path - wp-content > themes > yourtheme > style.css

使用文件编辑器打开此文件,您将可以编辑所有样式,包括字体.

Open this file using a file editor and you will be able to edit all the styling, including the font.

如果您使用源代码作为参考,这将有所帮助,以便您找到与该元素关联的正确的类和ID.

It will help if you use the source code as a reference so that you can find the correct classes and ids that are associated with the element.

更改字体非常简单,您可以将其用作查找所需字体的参考-

It's pretty simple to change the font, you can use this as a reference to find the one you want - https://css-tricks.com/snippets/css/css-font-families/

这是一种更简单的方式,如果您的客户具有CSS的基本知识,他们可能会理解它们-

Here is an easier way that your client would perhaps understand if they have a very basic knowledge of CSS - https://www.inmotionhosting.com/support/edu/wordpress/change-wordpress-appearance/change-font-globally

或者,还有许多其他插件可以与Google Fonts插件做同样的事情.例如: https://wordpress.org/plugins/use-any-font/

Alternatively, there are a ton of other plugins that will do the same thing as the Google Fonts plugin. For example: https://wordpress.org/plugins/use-any-font/

希望这将为您提供足够的信息以帮助您.

Hopefully, this will provide you with enough information to help.

这篇关于Free Theme Parallaxsome不支持Easy Google Fonts Wordpress插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆