I can not understand why the value value="" I have input , but I don’t have it on the site, and I also have it on my site ..

 .searchSubmit { font-family: 'FontAwesome'; } 
 <link href="http://netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet" /> <input type="submit" class="searchSubmit" value="&#xf002;"> 

  • In one browser check? I have transformed both there and there. - VenZell

1 answer 1

Because you need to look at the errors in the developer console.

In particular on jsfiddle

(index): 31 Mixed Content: The page at 'https://jsfiddle.net/nspmaok9/2/' was loaded over HTTPS, but requested an insecure stylesheet 'http://netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css' . This request has been blocked; served content over https.

For a quick fix, you can always download styles at https

 https://netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css 

https://jsfiddle.net/avvguu7w/

  • The magic cache saved me from an error, thinking in the wrong direction ... - VenZell
  • @Grundy if I connect via wp_enqueue_style on the site, then what should I do? - Vasya
  • @ Vasya, I do not even know what it is. But for sure you can configure what and where to get - Grundy
  • @Grundy, I figured it out - I had the number indicated by the third parameter in wp_enqueue_style and it seemed to load before it was supposed to be - Vasya