Indigo And Open Sans For SP Mega Menu (GDPR) - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Indigo And Open Sans For SP Mega Menu (GDPR)

B

Boudewijn

Template 4 months 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;
}
0
2 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 4 months ago #194594

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

0
B
Boudewijn
Accepted Answer
4 months ago #194736

Ah, yes, thank you for your reply. Apparently, i need advanced options in Chrome to delete the cache fully. Sorry for the trouble.

Another question about the Indigo menu. Do you know why there is a small gap under the top w/o child menu buttons for FF? For Chrome there is none. See https://demo3.joomshaper.com/2019/indigo/index.php/shop and https://demo3.joomshaper.com/2019/indigo/index.php/blog

0