Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
438 views
in Technique[技术] by (71.8m points)

css - How to change the site title font style in wordpress theme Bizberg Consulting Dark

hello guys av been trying to change the font family/ font style of this WordPress theme Bizberg Consulting Dark for days now, I have looked for this on all the theme editor files but could not find the solution when I inspected the theme on chrome the front family is currently on

.primary_header_2 h3, .bizberg_header_wrapper h3 {
    font-family: Dancing Script;
   }

I also tried changing this using the additional CSS option on WordPress but any input I give it doesn't work, but when I try

.primary_header_2 h3, .bizberg_header_wrapper h3 {
    display: none;}

The whole of the site title disappears showing that this id is the correct id for this change but when I try to input another type of font-family it doesn't work I have looked for this on all the theme editor files but could not find the solution


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

in your additional css option in wordpress after the css you should input !important and this will overide all functions the theme is playinging initially eg

.header_site_title {
     font-family: Times New Roman !important; 
}

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...