Blocked loading mixed active content "http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold"

You have an insecure link which is being rejected.

style.css:
@import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold);

Easy fix. - use https.

Comments

bmatthewshea created an issue. See original summary.

somersoft’s picture

Reroll the patch so that it uses the current protocol, so either HTTP or HTTPS.

bhumikavarshney’s picture

Status: Active » Needs review

Hi,
In Drupal 8 we can embedded the font family in .libraries.yml file of our subtheme like this
fonts:
css:
theme:
'//fonts.googleapis.com/css?family=Droid+Sans:regular,bold': {type: external}
So it will work globally.
Or if you want to import url for a single file just use this
@import url(//fonts.googleapis.com/css?family=Droid+Sans:regular,bold);

gauravvvv’s picture

Status: Needs review » Closed (duplicate)
Parent issue: » #3224363: Use https to import Droid Sans Google font