[英]How to change breadcrumb's title background color in wordpress?
Here is my website . 这是我的网站 。 Is it possible to change the title background color using custom css code?
是否可以使用自定义CSS代码更改标题背景颜色? Currently it is red.
目前是红色。 I would like to change the color to light blue for all the titles like, "TRENDING POSTS", "SEARCH ENGINE OPTIMIZATION", "SOCIAL MEDIA", "RECENT POSTS" "POPULAR", etc
我想将所有标题的颜色更改为浅蓝色,例如“趋势帖子”,“搜索引擎优化”,“社交媒体”,“最新帖子”,“热门”等
You can change background color by doing changes in these classes 您可以通过在这些类中进行更改来更改背景颜色
.awt-title
{
background: #0056ca;
}
.main-widget-area .widget-title
{
background: #0056ca;
}
#awt-widget > li.active > a, .nav-tabs > li.active > a:hover, #awt-widget > li.active > a:focus
{
background: #0056ca;
}
As you're using a theme, I'd be very surprised if you had to write any custom CSS rules to change this. 当您使用主题时,如果您必须编写任何自定义CSS规则来更改此设置,我会感到非常惊讶。 There's probably a setting in Appearance > Customise.
外观>自定义中可能有一个设置。 If not, check the documentation.
如果没有,请检查文档。 It might be hidden somewhere else.
它可能隐藏在其他地方。
If there isn't, open the CSS file associated with the theme (which looks like it's at /wp-content/themes/awaken/style.css
) and search for any instance of #fa5742
. 如果没有,请打开与主题关联的CSS文件(看起来像在
/wp-content/themes/awaken/style.css
)并搜索#fa5742
任何实例。 Copy the selector (the bit before the first brace {
) and add it to your custom CSS rules. 复制选择器(第一个大括号
{
之前的位)并将其添加到自定义CSS规则中。 For each selector add: 为每个选择器添加:
the-selector-goes-here {
background-color: #your-blue-colour;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.