0
Welcome Guest! Login
0 items Join Now

Font in split menu

    • Ali Samii's Avatar
    • Ali Samii
    • Elite Rocketeer
    • Posts: 629
    • Thanks: 2

    Font in split menu

    Posted 11 years 8 months ago
    • Hi I have defined some typekit fonts with my template, but for whatever reason, I cannot get the serif font I have defined to apply to the split menu at the top level.

      When using the dropdown menu style, it applies with no problems.

      When looking at the inspector, I see that the font declaration is being recognised (but indicates and invalid property value.

      I have defined the font family in variables.less as:
      @menuFontFamily:            @font-family-garamond-pro;

      The font stack is defined in fonts.less as:
      @font-family-garamond-pro: "adobe-garamond-pro", Constantia, "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", Times, serif;

      And in global.less, I am importing the files in this order.
      @import "fonts.less";
      @import "variables.less";

      As I said, it works fine with the dropdown menu, but doesn't seem to work with the split menu.

      resdemo.ergonomiq.net/

      Any help would be appreciated.

      Thanks,

      Ali
    • Thank you.

      Ali Samii
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Font in split menu

    Posted 11 years 8 months ago
    • #rt-menu ul.gf-menu .item {
      font-family: "adobe-garamond-pro", Constantia, "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", Times, serif;
      }

      seems to work for me?

Time to create page: 0.050 seconds