• Resolved tzisig

    (@tzisig)


    Hello,

    i am building a website and the Longevity theme looks great but i do have a problem my site is in Hebrew and it works fine with Chrome and FireFox but with IE on desktop viewing i can’t see the menu and the H1 tag that is taken from the menu. i really like this theme and i hope that you can help me solve this problem, i don’t want to change the theme.
    website is: yechavehdaat.com

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    Thanks for the repost…

    I went to your site — I won’t pretend I can read it ??

    In desktop view using my IE Edge, I am able to see your menu.

    So everything works fine in Chrome and Firefox, but in IE you are saying that your main menu is missing? Also, not sure what you mean by the H1 tag is taken from the menu?

    What version of IE are you using?

    Thread Starter tzisig

    (@tzisig)

    hahaha i didn’t think you would.

    my IE version is :11.0.29
    and about the H1 what i am saying is that when you make new page/post then the name you give it goes to the menu and also as the page/post subject as H1 tag i can’t see that too.
    and it’s not me only i have a friend in Israel who can’t see it too.

    Thread Starter tzisig

    (@tzisig)

    i just made new page with a print screen picture for you to see what i am seeing. https://yechavehdaat.com/ie/

    Theme Author Shaped Pixels

    (@shaped-pixels)

    wow…that is odd. I will have to fire up my other laptop which has IE 11 on it. Give me a short while to look into this and figure out what is happening because it should be working in IE 11 at least.

    Thread Starter tzisig

    (@tzisig)

    sure take your time thanks

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Sorry it took some time…I’ve tried everything that I know, but I think this might have something to do with IE and your language support. But what is odd is that your main content shows, but the menu does not, and even a basic HTML tag like the H1, h2, h3, do not show unless I type something else in there that isn’t hebrew, then it shows.

    I’m not sure if you want to do this, but does it do this in any of the default WP themes like Twenty Sixteen, Twenty Fourteen, etc, or any other themes (viewed in IE 11) ?

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Ah! I know what it is….the menu and the headings uses a font that is not compatible with Hebrew. The menu and the headings are using a Google Font called Playfair Display.

    In the theme’s function.php file is this code:

    /** Translators: If there are characters in your language that are not supported by Playfair Display, translate this to 'off'. Do not translate into your own language.
    */
    if ( 'off' !== _x( 'on', 'Playfair Display font: on or off', 'longevity' ) ) {
    $fonts[] = 'Playfair Display:400,400italic';
    }

    Did you create a translation of the theme? If so, look for the on string for this and make it off…like the notice for Translators mentions. I’ve never done this before so that, if I understand it correctly, will disable the Playfair Display font. That means the next font inline in the theme is Georgia.

    Or, you can use a different font that supports Hebrew and change the font for the menu and the headings by doing this custom CSS:

    h1, h2, h3, h4, h5, h6,
    .primary-navigation {
    font-family: your font;
    }
    Thread Starter tzisig

    (@tzisig)

    yes it worked thank you very much.

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Good to hear ??
    I was scratching my head trying to figure out what it was and then I realized I was using Google fonts (which not all support certain languages.

    Anyway, I will set this topic as “Resolved” unless you have any more questions related to this topic?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘IE doesn't show menu in Hebrew’ is closed to new replies.