Tagged: 

Viewing 29 posts - 1 through 29 (of 29 total)
  • Author
    Posts
  • #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
    Orit

    #360369

    Hi 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,
    Josue

    #360672

    Hi
    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
    Orit

    #361255

    Hey!

    put it in functions.php.

    Regards,
    Andy

    #364609

    Still does not work )-:

    #365108

    Hi,

    Can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #372049
    This reply has been marked as private.
    #372351

    Hey!

    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!
    Ismael

    #372497
    This reply has been marked as private.
    #372510

    Hi!

    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,
    Kriesi

    #373786
    This reply has been marked as private.
    #373935

    Hey 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,
    Josue

    #375705
    This reply has been marked as private.
    #376567

    Hi Orit!

    I’m still unable to connect to your server, also there is no child functions.php here.

    Cheers!
    Josue

    #384238
    This reply has been marked as private.
    #384270

    Hi!

    Alef is affecting heading elements, please check the Test page i created (/test/).

    Regards,
    Josue

    #384434
    This reply has been marked as private.
    #384582

    Hi Dan!

    What font do you want to use?

    Regards,
    Josue

    #384701

    I 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

    #384702
    This reply has been marked as private.
    #384734

    Hey Dan!

    The font is working as expected, please check the page i created (/alef-demo/).

    Cheers!
    Josue

    #384812

    Hey 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.html

    http://cl.ly/image/2i052k1i0w19

    • This reply was modified 9 years, 9 months ago by tech500.
    #385067
    This reply has been marked as private.
    #385325

    Hi Orit81 ,

    Did you manage to get Hebrew fonts working in Enfold ?
    Would you mind contacting me ?

    Thanks

    Dan

    #385786

    Hey Dan!

    Try adding this code to the Quick CSS:

    @import url(https://fonts.googleapis.com/earlyaccess/alefhebrew.css);
    

    Cheers! 
    Josue

    #386299

    Josue,

    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

    #386620

    Nevermind, 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.
    #386812

    Wow 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

    #386831

    Hi 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

Viewing 29 posts - 1 through 29 (of 29 total)
  • You must be logged in to reply to this topic.