Tagged: x
-
AuthorPosts
-
June 15, 2016 at 6:42 am #1043052
cvdwParticipantHi,
I try to get an other Google font for mij H3 text.
Reading true the topics I found this:
add_action (‘wp_head’, ‘custom_google_font’, 9999 );
function custom_google_font() {
echo ‘<link href=”http://fonts.googleapis.com/css?family=Special+Elite” rel=”stylesheet” type=”text/css”>’;
}I put this code in the functions.php of my child theme and I put this:
h3, .h3, h3 a, {
font-family: “Special Elite”, cursive;
font-style: normal;
font-weight: 700;
color: #767b4e;
}In the Customizer > Custom > Edit global css
But my H3’s are not displayed in the Special Elite font.
What I’m doing wrong…?
June 15, 2016 at 9:00 am #1043264
John EzraMemberHi there,
Thanks for writing in! Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
June 15, 2016 at 10:35 am #1043442
cvdwParticipantThis reply has been marked as private.June 15, 2016 at 1:14 pm #1043688
JoaoModeratorHi there,
Your code is right.
What part of your website you would like to change exactly?
Have in mind if you have an H2 that looks like H3 you need to use h2.h3 as a selector
for example I have used it:
h2.h3 { font-family: "Special Elite", cursive; font-style: normal; font-weight: 700; color: #767b4e; }And it changes the typeface and color the text you have inside a greenbox on your home page.
If you need further help please be specific about what you would like to change so we can help you, but I believe using the example above you will be able to manage.
Hope that helps,
Joao
June 16, 2016 at 6:18 am #1045000
cvdwParticipantThis reply has been marked as private.June 16, 2016 at 8:03 am #1045111
JoaoModeratorYou are welcome.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1043052 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
