Use local fonts instead of Google fonts
-
Hi there,
the plugin gives the possibility of uploading font files.
However, when they are to be selected in the ‘CMP Basic Setup’ -> ‘Customize fonts’ panel, they only appear as file names. And they do not work.
The resulting CSS in the generated HTML looks like:<style>@font-face {font-family: "montserrat-v12-latin-regular"; src: url("https://mydomain.de/wp-content/uploads/montserrat-v12-latin-regular.woff2") format("woff2");} </style><style> @font-face {font-family: "playfair-display-v21-latin-700"; src: url("https://mydomain.de/wp-content/uploads/playfair-display-v21-latin-700.woff2") format("woff2");} </style> <style> body,input {font-family:'montserrat-v12-latin-regular', 'sans-serif';color:#545454;} .social-list {background-color: rgba(0,0,0,0.4);} a {color:#545454;} h1,h2,h3,h4,h5,h6 {font-family:'playfair-display-v21-latin-700', 'sans-serif';} body {font-size:17px; letter-spacing: 0px; font-weight:Not Applicable;; } h1:not(.text-logo),h2, h3,h4,h5,h6,.text-logo-wrapper {font-size:1.3529411764706em;letter-spacing: 0px; font-weight:Not Applicable;font-style: normal;; } h1 {font-weight:Not Applicable;font-style: normal;;} </style>
Any hint?
Thanks in advance for your help.
Best,
Larry
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Use local fonts instead of Google fonts’ is closed to new replies.