Tagged: enfold, Fonts, LayerSlider
-
AuthorPosts
-
April 9, 2019 at 5:55 pm #1088760
Trying to see if there’s a way around this via PHP:
https://kreatura.ticksy.com/ticket/1959299
The @font-face loaded fonts show up fine in the public site, but do not load in the visual editor for LayerSlider with the theme. Is there a way to register these fonts, perhaps via functions.inc.php or some other method, that will allow them to be used in the admin side?
The font in question is FF Din, from FontShop.com. Can I add this based on the documentation like shown here: https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts
- This topic was modified 5 years, 8 months ago by id-systems.
April 11, 2019 at 4:20 pm #1089610Hey id-systems,
Can you try the solution posted on this thread: https://kriesi.at/support/topic/using-a-custom-font-with-layer-slider/
Hope it helps.Best regards,
NikkoApril 11, 2019 at 7:08 pm #1089684Nope. Still drops to Serif after reloading. Again it shows up fine on the production/public side. It just doesn’t work in the editor. This is a complex font, so I can’t blanket apply the font to
body
. Tried the font name in teh “Family” field as well as in custom css in the editor.This is how the fonts are included in the site now:
/* This CSS resource incorporates links to font software which is the valuable copyrighted property of Monotype and/or its suppliers. You may not attempt to copy, install, redistribute, convert, modify or reverse engineer this font software. Please contact Monotype with any questions regarding Web Fonts: http://www.fontshop.com */ /* FONTS */ @font-face{ font-family:"DIN W01 Regular"; src:url("/wp-content/themes/enfold-child/fonts/5591097/9b63158c-0e74-4751-966c-d749c5d31cce.eot?#iefix"); src:url("/wp-content/themes/enfold-child/fonts/5591097/9b63158c-0e74-4751-966c-d749c5d31cce.eot?#iefix") format("eot"),url("/wp-content/themes/enfold-child/fonts/5591097/6ceed230-b2b3-4422-b048-4aa11687430a.woff2") format("woff2"),url("/wp-content/themes/enfold-child/fonts/5591097/80b0143f-6f0d-4dce-aafd-f3c81b85d177.woff") format("woff"),url("/wp-content/themes/enfold-child/fonts/5591097/247437df-66d2-4605-ac03-1be0e07c31a7.ttf") format("truetype"); } @font-face{ font-family:"DIN W01 Italic"; src:url("/wp-content/themes/enfold-child/fonts/5591103/dddeebac-6a12-4ffd-8d20-a48eb55002ec.eot?#iefix"); src:url("/wp-content/themes/enfold-child/fonts/5591103/dddeebac-6a12-4ffd-8d20-a48eb55002ec.eot?#iefix") format("eot"),url("/wp-content/themes/enfold-child/fonts/5591103/2f5ae48c-f613-40cb-874b-457e76012d5a.woff2") format("woff2"),url("/wp-content/themes/enfold-child/fonts/5591103/223b3c7d-d401-462e-8bb4-348445744557.woff") format("woff"),url("/wp-content/themes/enfold-child/fonts/5591103/0c29bfc2-0781-4c16-ac8a-7d7e58374112.ttf") format("truetype"); } @font-face{ font-family:"DIN W01 Bold"; src:url("/wp-content/themes/enfold-child/fonts/5591154/9cab3d10-a1a9-4145-ab8a-cde6265a011d.eot?#iefix"); src:url("/wp-content/themes/enfold-child/fonts/5591154/9cab3d10-a1a9-4145-ab8a-cde6265a011d.eot?#iefix") format("eot"),url("/wp-content/themes/enfold-child/fonts/5591154/55fa1cf8-baf8-4bf8-9718-b096b1dd231f.woff2") format("woff2"),url("/wp-content/themes/enfold-child/fonts/5591154/4cadc2f9-fb32-4b99-b1f2-9ce6d68afbd5.woff") format("woff"),url("/wp-content/themes/enfold-child/fonts/5591154/24018d68-3235-4323-9ec0-4a86537b0f30.ttf") format("truetype"); } @font-face{ font-family:"DIN W01 Bold Italic"; src:url("/wp-content/themes/enfold-child/fonts/5591168/96485318-df28-4dcc-954b-cd9c3661e4ad.eot?#iefix"); src:url("/wp-content/themes/enfold-child/fonts/5591168/96485318-df28-4dcc-954b-cd9c3661e4ad.eot?#iefix") format("eot"),url("/wp-content/themes/enfold-child/fonts/5591168/2a7b16ab-9f15-4bf3-9abd-75e93e8aeacf.woff2") format("woff2"),url("/wp-content/themes/enfold-child/fonts/5591168/2945b210-e824-4cd3-a8f2-206f55c4de95.woff") format("woff"),url("/wp-content/themes/enfold-child/fonts/5591168/054898bd-236e-4995-90cc-e31d2eec5fa7.ttf") format("truetype"); } @font-face{ font-family:"DIN W01 Black"; src:url("/wp-content/themes/enfold-child/fonts/5591175/855cca78-9141-48c7-bc2d-5d78d489f326.eot?#iefix"); src:url("/wp-content/themes/enfold-child/fonts/5591175/855cca78-9141-48c7-bc2d-5d78d489f326.eot?#iefix") format("eot"),url("/wp-content/themes/enfold-child/fonts/5591175/d6241c0e-d7b5-46c2-8d41-524b7a7c86d1.woff2") format("woff2"),url("/wp-content/themes/enfold-child/fonts/5591175/b02e1860-f927-4d9a-9f4f-e66d2a5760d9.woff") format("woff"),url("/wp-content/themes/enfold-child/fonts/5591175/2e5b5154-6c68-4104-b8b3-fde29e396482.ttf") format("truetype"); } @font-face{ font-family:"DIN W01 Black Italic"; src:url("/wp-content/themes/enfold-child/fonts/5591184/1b3a0476-d696-4b49-bf93-9a4073b7fcc3.eot?#iefix"); src:url("/wp-content/themes/enfold-child/fonts/5591184/1b3a0476-d696-4b49-bf93-9a4073b7fcc3.eot?#iefix") format("eot"),url("/wp-content/themes/enfold-child/fonts/5591184/afa0c591-2736-479c-9c32-52fe49a6a1f6.woff2") format("woff2"),url("/wp-content/themes/enfold-child/fonts/5591184/b377e995-5186-49c4-b03b-c99aabc72179.woff") format("woff"),url("/wp-content/themes/enfold-child/fonts/5591184/4740da7e-5f62-4e5f-b1b8-3132d6ae9860.ttf") format("truetype"); } @font-face{ font-family:"DIN W01 Cond Medium"; src:url("/wp-content/themes/enfold-child/fonts/5611687/7a61bf69-ff28-45fd-88f2-fc2cc83b72ec.eot?#iefix"); src:url("/wp-content/themes/enfold-child/fonts/5611687/7a61bf69-ff28-45fd-88f2-fc2cc83b72ec.eot?#iefix") format("eot"),url("/wp-content/themes/enfold-child/fonts/5611687/047b5551-f21a-4ff9-808b-8708f9a4d5e4.woff2") format("woff2"),url("/wp-content/themes/enfold-child/fonts/5611687/a374e227-5b70-487b-b771-117fa13fe9c2.woff") format("woff"),url("/wp-content/themes/enfold-child/fonts/5611687/0612f204-769a-47f3-bfea-8075b479e457.ttf") format("truetype"); } @font-face{ font-family:"DIN W01 Extlight"; src:url("/wp-content/themes/enfold-child/fonts/5611998/c36d4fee-ad19-437a-ba7f-85eacfad975b.eot?#iefix"); src:url("/wp-content/themes/enfold-child/fonts/5611998/c36d4fee-ad19-437a-ba7f-85eacfad975b.eot?#iefix") format("eot"),url("/wp-content/themes/enfold-child/fonts/5611998/1ab7e009-f493-44fc-8a99-afebf8e24b20.woff2") format("woff2"),url("/wp-content/themes/enfold-child/fonts/5611998/8804ad73-51dd-4dd7-a618-eb80cd20a726.woff") format("woff"),url("/wp-content/themes/enfold-child/fonts/5611998/71b25abe-e633-4b0b-b0cf-0875d2ea4c90.ttf") format("truetype"); } @font-face{ font-family:"DIN W01 Extlight Italic"; src:url("/wp-content/themes/enfold-child/fonts/5612029/8bc1ea46-3b79-4971-a43e-89a764a62a7c.eot?#iefix"); src:url("/wp-content/themes/enfold-child/fonts/5612029/8bc1ea46-3b79-4971-a43e-89a764a62a7c.eot?#iefix") format("eot"),url("/wp-content/themes/enfold-child/fonts/5612029/9a3a0523-1eb0-4220-b183-6dce18c897dc.woff2") format("woff2"),url("/wp-content/themes/enfold-child/fonts/5612029/8fbb8e42-d595-4ec9-b321-18070000d447.woff") format("woff"),url("/wp-content/themes/enfold-child/fonts/5612029/c1199d41-fa7b-4881-b672-7ba5d4a87e83.ttf") format("truetype"); }
- This reply was modified 5 years, 8 months ago by id-systems.
April 13, 2019 at 5:20 pm #1090399Hi id-systems,
Thanks for clearing it out.
To be honest we don’t have any control over layerslider and I’m not sure how this can be integrated.
Maybe this articles might help out:
– https://tehnoblog.org/how-to-change-font-in-wordpress-admin-dashboard/
– http://www.jdlasica.com/technology/change-font-in-wordpress-dashboard/Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.