[Support request] New google font on over the video haeder

Home Forums Support New google font on over the video haeder

  • This topic has 1 reply, 2 voices, and was last updated 11 months ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1038119
    Robert

    Hi

    I try to change the font over the video haeder
    on: http://www.vicktina.com/

    In the CSS the code looks like this:

    .background-video-content {
    color:#ffffff;
    position: relative;
    z-index: 1;
    font-weight: 300;
    text-shadow: 1px 5px 4px rgba(0, 0, 0, 0.5);
    font-size: 30px;
    font-family: ‘Kalam’, cursive;
    }

    It dosn’t mather which font family I put into the ” font-family”
    – nothing changed

    Kr
    Robert

    #1038264
    David
    Staff
    Customer Support

    Hi there,

    Font’s need to be enqueued before they can be called using CSS.
    Either by setting one of your headings in the customizer to that font or use a Hook Element to add this to the wp_head hook for the home page:

    <link href="https://fonts.googleapis.com/css?family=Kalam&display=swap" rel="stylesheet">

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.