Make fontawesome and the overridden bootstrap stylesheet optional on frontend

Created on 20 February 2021, over 3 years ago
Updated 28 April 2023, about 1 year ago

Problem/Motivation

The module loads both awesome v. 4.3.0 and the custom bootstrap libraries by default. They both might result option for websites that already include them (even with a more recent version).

Steps to reproduce

Open a Drupal website with tb_megamenu installed, and verify via devtools that both library are present by default.

Proposed resolution

Make both libraries optional. This could be done by adding a setting in /admin/structure/tb-megamenu/ , or by creating a new "Barebone" style, which will correspond to the default style but without the two libraries.

Remaining tasks

None.

User interface changes

Two new settings or a new style in the administrative interface.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Postponed

Version

1.0

Component

Code

Created by

🇮🇹Italy nironan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada OMD

    I'm also having this issue as certain browsers are flagging Cloudflare as tracking them, Safari does this. To improve visitor confidence I would like to eliminate these unused fonts as well. I tried #7 and it did not work for me.

Production build 0.69.0 2024