Forum Replies Created
-
AuthorPosts
-
Really?
Are the fonts working? Only one…
Please find code:
<!-- google webfont font replacement --> <link rel='stylesheet' id='avia-google-webfont' href='//fonts.googleapis.com/css?family=Slabo+27px:300%7CCalibri' type='text/css' media='all'/> <script type="text/javascript">
Open URL in browser:
http://fonts.googleapis.com/css?family=Slabo+27px:300%7CCalibriReturned is only one font:
/* latin */ @font-face { font-family: 'Calibri'; font-style: normal; font-weight: 400; src: local('Calibri'), url(https://fonts.gstatic.com/l/font?kit=YH3ek_qpdaY7ILI-bfzlYQ&skey=a1029226f80653a8&v=v8) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; }
not both. new issue.. no solution
enfold-child/functions.php was writeable…
enfold/functions.php not..Now both folders and all files are.
now it is from web.
I did quick install enfold on test domain: same issue.
child theme. the code can be found in the functions.php of the child theme.
Please read carefully the posts…
As said, it WORKS if I add only 1 font. Equalless if its “Slabo 27px:300” or “Slabo 27px”.As soon as I add a secound font:
add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Slabo 27px'] = 'Slabo 27px:300'; $fonts['Calibri'] = 'Calibri'; return $fonts; }
It dowsn’t work anymore. Issue is, within the sourcecode, following line can be found then:
<link rel='stylesheet' id='avia-google-webfont' href='//fonts.googleapis.com/css?family=Calibri%7CSlabo+27px' type='text/css' media='all'/>
The issue is the following code: %7C as it should be a | char. Google is delivering back a 404 page instead of the CSS code for multiple fonts.
I did disable all Plugins, same issue…I did found more bugs…
add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Slabo 27px'] = 'Slabo 27px'; $fonts['Calibri'] = 'Calibri'; return $fonts; }
When adding 2 fonts, the issue is that enfold try to load them via such an URL
http://fonts.googleapis.com/css?family=Calibri%7CSlabo+27pxshould be:
http://fonts.googleapis.com/css?family=Calibri|Slabo+27px
something distrory the special char (on a new installed wp)This leads to an error instead of the css files.
That need to be fixed!-
This reply was modified 7 years, 12 months ago by
BlutVampir.
ok, it seams the font is correctly loaded. But equalless when I select it in the backend of Enfold Theme Options to use that font, it is never shown.
I did select Slabo 27px by “Heading Font” and “Defines the Font for your body text”I need to manually add a CSS code that it works:
body { font-family: 'Slabo 27px'; }
What doing Im wrong?
and the page with the issue is the MANSORY element of enfold. 1:1 unchanged out of the demo.
Thats the case but not the problem.
Also the ones which showing the dates are made with visual builder.
Issue is:
3 posts on the 24.8. => only the last is showing date.
2 posts on 25.8. => only the last is showing the dateWhen I open a post which downt show the date, I change NOTHING, except the “published date” on a separate day and save, it works and shows the date.
Customer can only publish 1 post / day to see date and comment links or live with the error?please find the credentials.
-
This reply was modified 7 years, 12 months ago by
-
AuthorPosts