Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 20h 22m 10s
Claim 50% off
Awaiting an answer Templates

Indigo and Open Sans for SP Mega Menu (GDPR)

Asked by Boudewijn 1 year ago Last activity 1 year ago

Hi,

Because of GDPR i disabled all google fonts and hosted locally.
I tried with SP font book but experienced difficulties with Italic text parts.
So i added with CSS.

It is working for SP Pages.
Unfortunately, i did not manage for the menu to use the Open Sans font.
I already added code to custom.css but it did not work.

.sp-megamenu-parent > li > a {
        font-family: 'Open Sans', sans-serif;
    text-decoration: none;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

2 replies

Atick Eashrak Shuvo Staff

Apologies for the inconvenience.

I’ve reviewed the issue, and it appears that the Open Sans font is now loading correctly for the menu. If you're still not seeing the update on your end, I recommend clearing the following caches:

  • Browser cache
  • Joomla cache (via System > Clear Cache)
  • Any installed caching extensions
  • Server-side caching, if enabled (e.g., LiteSpeed, Varnish, etc.)

After clearing these, please check again. Let me know if the issue persists, and I’ll be happy to assist further.

Best regards

Log in to reply.