-
AuthorPosts
-
February 14, 2022 at 7:25 pm #1340574
In version 4.9.1 if I upload a font with a dash in the file name the generated font family also contains a dash.
Since 4.9.1 the generated CSS is removing the dash – Causing the fallback font to be served instead.
I assume this is the fix noted for 4.9 in the change log.
If it is the case is it possible for you to send me a fix for this?February 15, 2022 at 1:04 pm #1340683February 15, 2022 at 1:12 pm #1340686Thanks Yigit! I have your email.
On the site I first noticed this on I have re-uploaded the custom font – Removing the dash from the file name for now.
February 16, 2022 at 11:40 am #1340895I have noticed the same problem with an already uploaded font. The font-family name in the font-faces does not corresponds with the font-family name in the css for the elements.
`@font-face {
font-family: ‘source-sans-pro’;
src: url(‘https://www.greener.nl/wp-content/uploads/avia_fonts/type_fonts/source-sans-pro/sourcesanspro-regular.ttf’) format(‘truetype’);
font-style: normal;
font-weight: 400;
font-display:auto
}’The CSS uses
‘h1, h2, h3, h4, h5, h6, #top .title_container .main-title, tr.pricing-row td, #top .portfolio-title, .callout .content-area, .avia-big-box .avia-innerbox, .av-special-font, .av-current-sort-title, .html_elegant-blog #top .minor-meta, #av-burger-menu-ul li {
font-family: ‘source sans pro’, Helvetica, Arial, sans-serif
}’- This reply was modified 2 years, 9 months ago by greenmarketers.
February 17, 2022 at 12:34 pm #1341116Hi @greenmarketers,
Thanks for your input! Would you like us to email you the latest dev version of Enfold which includes the fix? :)
Best regards,
YigitFebruary 18, 2022 at 9:57 am #1341307This reply has been marked as private.February 18, 2022 at 12:21 pm #1341317February 18, 2022 at 5:02 pm #1341358Hi, Yigit–
We are having the same issue with fonts on one of our website using Enfold 4.8.9.1. The two fonts have hyphens in the uploaded filenames. I really don’t want to patch this up manually. Would it be possible to get a dev copy of 4.9 emailed to me as well?February 18, 2022 at 5:26 pm #1341359February 18, 2022 at 6:03 pm #1341360Thank you!
February 20, 2022 at 8:11 pm #1341529Just want to note the dev copy of Enfold fixed the problem with custom fonts that have hyphens in the file names. Everything else on the website looks good — no further problems. Thanks again.
February 21, 2022 at 1:08 pm #1341622 -
AuthorPosts
- You must be logged in to reply to this topic.