Tagged: x
-
AuthorPosts
-
January 10, 2017 at 3:37 am #1323604
Hi.
I have made a custom blockqoate, but am having trouble changing the font. I have tried all of x google fonts, but non is working. I want Google font Caveat or Parisienne but the code from google is not working.
Any ideas.
January 10, 2017 at 5:53 am #1323737Hi there,
Thanks for writing in! Click on the @import tab and then you can add it under Customizer, Custom > CSS area.
Example:
@import url(http://fonts.googleapis.com/css?family=Grand+Hotel);
Then you can apply it to any element.
h1, .h1 { font-family: 'Grand Hotel', cursive; }
Hope that’s clear.
January 10, 2017 at 7:11 am #1323829Sorry, not experienced coder, but the @import code, do I place that in the global css?
I tried that, but it didn´t workJanuary 10, 2017 at 8:04 am #1323886Hi There,
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 login to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
January 10, 2017 at 8:35 am #1323924This reply has been marked as private.January 10, 2017 at 9:22 am #1323991Hi There,
I added the following CSS under style.css file locates in your child theme, it seems to work fine :
@import url('https://fonts.googleapis.com/css?family=Grand+Hotel'); h2, .h2 { font-family: 'Grand Hotel', cursive !important; }
Cheers!
January 10, 2017 at 4:32 pm #1324624that messed up my site 🙂 Now all of my H2 headlines are your Grand Hotel added font.
It´s the blockquote class that I have made in global CSS that I want my new google font to be.I have added this code in global (see below) and named the element class: sitat and sitatsidebar
PS! Caveat font is not working here. It´s that font I want 🙂}
.sitat {
font-size: 48px;
font-family: ‘Caveat’, cursive;
line-height: 1.5em;
color: #ffffff;
}
.sitatsidebar {
font-size: 28px;
font-family: ‘Caveat’, cursive;
line-height: 1.5em;
color: #005581;
}January 10, 2017 at 4:36 pm #1324629My bad, I figured it out. Thank you. I have changed the font and all is fine
January 10, 2017 at 6:35 pm #1324704Happy to hear that.
Feel free to ask us again.
Thanks.
-
AuthorPosts