• Resolved dan1974

    (@dan1974)


    I need to add the font BirchStd for the menu at https://crrmove.us (temporary URL). I tried adding to the css in a new menu theme so it looks like:

    #{$wrap} #{$menu} {
    /** Custom styles should be added below this line **/

    @font-face{
    font-family: BirchStd;
    src: url(‘/fonts/BirchStd.eot’); /* For IE */
    }

    @font-face{
    font-family: BirchStd;
    src: local(‘BirchStd’), url(‘/fonts/BirchStd.otf’) format(‘opentype’); /* For non-IE */
    }

    }

    #{$wrap} {
    clear: both;
    }

    but it doesn’t show up in the dropdown menu. How do I add a new font?

    Thanks,

    Dan

    https://www.ads-software.com/plugins/megamenu/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi Dan,

    Adding CSS there won’t automatically add fonts to the dropdown selectors, try reverting your changes and adding this instead:

    #{$wrap} {
    font-family: BirchStd !important;
    }

    Regards,
    Tom

    Thread Starter dan1974

    (@dan1974)

    Thanks Tom for a great plugin and thanks for your advice, that works with Firefox but not with IE. I originally added the source url of the font files since BirchStd is not commonly found installed on computers but it did not help.

    How can I get this to work in IE?

    Dan

    Plugin Author megamenu

    (@megamenu)

    Hi Dan,

    You could try putting single quotes around BirchStd (that’s just a guess!). Also make sure the version of IE you’re using supports web fonts.

    Regards,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding a new font’ is closed to new replies.