Tagged: font
-
AuthorPosts
-
November 30, 2014 at 3:50 pm #360288
Hi
I wish to change the main font and replace it with this one:http://alef.hagilda.com/
It is a google font.
When trying to switch and replace fonts with the instruction, nothing happens and the font is not added to the font list of the theme
Your help is needed
Tks in advance
OritNovember 30, 2014 at 7:57 pm #360369Hi Orit!
Try using this code:
add_filter( 'avf_google_heading_font', 'avia_add_custom_font'); add_filter( 'avf_google_content_font', 'avia_add_custom_font'); function avia_add_custom_font($fonts) { $fonts['Alef'] = 'Alef:400,700'; return $fonts; }
Best regards,
JosueDecember 1, 2014 at 9:50 am #360672Hi
Tks for the reply
Tried to put the code in the css editor of my child theme but it is still
Not working. Should I put the code in a different file?
Should the code be added to the code in the “ALEF” instruction like I did?
Tks
OritDecember 2, 2014 at 3:49 am #361255Hey!
put it in functions.php.
Regards,
AndyDecember 8, 2014 at 2:10 pm #364609Still does not work )-:
December 9, 2014 at 2:25 am #365108Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueDecember 23, 2014 at 1:29 pm #372049This reply has been marked as private.December 24, 2014 at 2:08 am #372351Hey!
How can we login to the site? I tried wp-admin and wp-login but it’s not working. Try to place the code on functions.php, right below line 16:
if(isset($avia_config['use_child_theme_functions_only'])) return;
Cheers!
IsmaelDecember 29, 2014 at 10:32 am #372497This reply has been marked as private.December 29, 2014 at 11:06 am #372510Hi!
I just checked your site and could not find that code anywhere. What I would recommend, since we dont have access to your FTP:
Since you are using a child theme please create a functions.php file in your child theme folder. Then add the code mentioned above to the child themes functions.php file. If that does not help please keep the files that way and let us know so we can check if everything was added correctly :)
Regards,
KriesiJanuary 1, 2015 at 9:46 am #373786This reply has been marked as private.January 1, 2015 at 9:52 pm #373935Hey Orit!
FTP access doesn’t work on my end (http://screencast.com/t/7mGO3NH3), can you please create an empty functions.php file in your child theme directory? so we can edit it from the Dashboard.
Best regards,
JosueJanuary 6, 2015 at 3:37 pm #375705This reply has been marked as private.January 8, 2015 at 12:53 am #376567Hi Orit!
I’m still unable to connect to your server, also there is no child functions.php here.
Cheers!
JosueJanuary 23, 2015 at 8:16 am #384238This reply has been marked as private.January 23, 2015 at 10:24 am #384270Hi!
Alef is affecting heading elements, please check the Test page i created (/test/).
Regards,
JosueJanuary 23, 2015 at 5:05 pm #384434This reply has been marked as private.January 23, 2015 at 7:49 pm #384582Hi Dan!
What font do you want to use?
Regards,
JosueJanuary 23, 2015 at 11:09 pm #384701I was hoping to use this ‘Alef’ font.
But any other Hebrew font would be fine.
At least a demo that I can use as a basic demo.Thanks
Da
January 23, 2015 at 11:12 pm #384702This reply has been marked as private.January 24, 2015 at 1:37 am #384734Hey Dan!
The font is working as expected, please check the page i created (/alef-demo/).
Cheers!
JosueJanuary 24, 2015 at 10:05 am #384812Hey Josue,
The font is not showing it’s true look, you see a default Hebrew character view.
I’ve attached a screenshot of how the font should look.I am using the ‘Open Sans’ google font now.
You can see a sample site for that font.
http://leadeo.co.il/tuts/opensansheb.htmlhttp://cl.ly/image/2i052k1i0w19
- This reply was modified 9 years, 9 months ago by tech500.
January 25, 2015 at 10:55 am #385067This reply has been marked as private.January 26, 2015 at 10:33 am #385325Hi Orit81 ,
Did you manage to get Hebrew fonts working in Enfold ?
Would you mind contacting me ?Thanks
Dan
January 26, 2015 at 7:53 pm #385786Hey Dan!
Try adding this code to the Quick CSS:
@import url(https://fonts.googleapis.com/earlyaccess/alefhebrew.css);
Cheers!
JosueJanuary 27, 2015 at 3:41 pm #386299Josue,
That line of CSS is already there, in the quick CSS section.
I did follow all the instructions, but it’s not working for some reason.Please have a good look at this, trying to get such a simple thing for too many days.
I need real help.Dan
January 27, 2015 at 9:57 pm #386620Nevermind, i found it.
Check it now, the @import line was needed to be put on the child theme style.css file.
Regards,
Josue- This reply was modified 9 years, 9 months ago by Josue.
January 28, 2015 at 9:11 am #386812Wow Josue, that’s great.
After all it was such a simple thing.
** I think you should fix the theme in such a way, that if someone puts the @import line in the custom css area, it should work with a child theme, don’t you think ?Thanks for the help.
Dan
January 28, 2015 at 9:44 am #386831Hi Dan!
That’s more a CSS @import thing, it requires to be put on the first lines of the css file, that’s why it wasn’t working on Quick CSS.
Best regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.