hebrew fonts not showing in gommero theme +

Discussion in 'Gommero WordPress Theme' started by lior, May 8, 2013.

  1. lior

    lior New Member

    Joined:
    Dec 30, 2011
    Messages:
    10
    Likes Received:
    0
    hi
    i have 2 issues i hope you'll assist
    1. in some part of the home page the hebrew fonts are not appearing. please provide with the custom code to paste in the theme option editor

    2. i also need the site to allign rtl. plz advice on how to do that

    site is: http://go.sdmmedia.net/

    tnx
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    1.For your first issue

    Go to js > custom.js present in your theme directory and remove the code given below

    Code:
    //Cufon Replacement in heading
    jQuery(document).ready(function() {
        //Cufon.replace('h1')('h2')('h3')('h4')('h5')('h6');
        Cufon.replace('h1, h2, h3, h4, h5, h6,#menu li a');
    });
    2.For your second issue

    We are working on theme to make it RTL, We will release RTL supported Gommero theme in our next version update and we will inform you after such update.
     
  3. lior

    lior New Member

    Joined:
    Dec 30, 2011
    Messages:
    10
    Likes Received:
    0
    thanks for your reply

    1/ i didn't find the code that I need to remove. could you please point me to where that code can be found, a screen shot will be very helpful if that is not too much trouble
    2/ about the 2nd issue is now resolved, just a matter of adding 1 line of code in the header

    appreciate all the help
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    You will not get theme directory in your dashboard.
    You can edit custom.js file through FTP.
    Open your Theme directory (through FTP) > js
    Download custom.js file from there, Edit it, Then again upload it.
     
  5. lior

    lior New Member

    Joined:
    Dec 30, 2011
    Messages:
    10
    Likes Received:
    0
    ok, i've downloaded the js file via the FTP.
    still don't know which file to edit, there are lots of files in the JS folder, several with the name CUSTOM in it + i've searched other files in that folder & still didn't find the code
    could you please tell me where that line of code is located instead of me just guessing where it could be found
     
  6. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,
    If you are not comfortable to finding the custom.js file to remove the cufon, There is also a another method for removing cufon

    Go to

    Appearance > Editor > Theme Functions(functions.php)

    and remove the code given below

    Code:
    wp_enqueue_script( 'cufon-ui', get_bloginfo('template_directory').'/js/cufon-yui.js', array('jquery'));
    Sending image for reference


    [​IMG]



    This will solve your issue.
     
  7. lior

    lior New Member

    Joined:
    Dec 30, 2011
    Messages:
    10
    Likes Received:
    0
    thank you
    that did the trick
    I had a very similar line of code:
    wp_enqueue_script( 'cufon-ui', get_bloginfo('stylesheet_directory').'/js/cufon-yui.js', array('jquery'));

    i removed it & problem solved

    tnx again
     
  8. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    RTL supported Gummero theme is released, Download updated version of theme from your members area and upload it.
     
  9. lior

    lior New Member

    Joined:
    Dec 30, 2011
    Messages:
    10
    Likes Received:
    0
    I TRIED IT, DIDNT APPEAR WELL. ITS BETTER TO JUST PASTE THE CODE
    <html dir="rtl" lang="he-IL">
    above the <head> tag

    tnx
     
  10. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to
    Appearance > Theme Options > Styling Options > Theme Language

    and select RTL from there, It works fine.
     

Share This Page