Build Your Own Business Website header image

Welcome to our Members Only Forum

You are welcome to view the content on our Forum, just scroll down to view this forum post.
If you like what you find and want to be able to post a question, please check out our subscription options.
Please feel free to search the forum using either the Google Site Search above or the forum search below.

Avatar
Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Error in HTML Head Editor
Avatar
Kenny Chan
Member
Members

Community Member
Forum Posts: 23
Member Since:
April 3, 2013
sp_UserOfflineSmall Offline
1
October 2, 2018 - 11:10 pm
sp_Permalink sp_Print

Hi I would like to insert the following line of code under the header section.

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

I have tried inserting this line into the "Head Scripts" section of the HTML head editor but it returned an error page when I saved it.

Do you know how can I get around this problem?

My final piece of code will look like the this below:

<!DOCTYPE html>
<html>
<head>
<title>Font Awesome Icons</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>

 

Thanks.

-Kenny

Avatar
Keith W Jones
Somerset, UK
Member
Members

Community Member
Forum Posts: 1441
Member Since:
June 22, 2013
sp_UserOfflineSmall Offline
2
October 3, 2018 - 3:46 pm
sp_Permalink sp_Print sp_EditHistory

Thesis > Site > HTML Head > Head Scripts

Then save.

Just tried using your code and it works for me.

Keith

Keith W Jones
Make sure you backup before upgrading and making changes.
Best results when one question per thread, link to site, version of WP, Thesis and skin.
http://www.kwjassociates.co.uk - Wordpress 5.1.1 – Thesis 2.8.5 - Focus

 

*** Biggest cause of problems is now the cache, whether it is a plugin, the browser or your host's server. ***
*** Do not edit Skin and Editor CSS - make changes using Custom CSS. ***
*** Do not edit core files - make changes using custom.php or master.php. ***
Avatar
Pierre Cote
Moderator
Members

Moderators

Community Member
Forum Posts: 1166
Member Since:
September 21, 2014
sp_UserOfflineSmall Offline
3
October 3, 2018 - 4:25 pm
sp_Permalink sp_Print

Hi

I prefer to call "font-awesome" from my WP install than calling an exterior file. (slowing the site)

Pierre ( postrophe )

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 228

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Keith W Jones: 1441

Brian Tozer: 1004

Carolin: 984

Heidi Hafner: 509

John Cunningham: 423

Reece Morrel: 353

Newest Members:

soundpilot

digitalaerolus

emma62755

sharonmarks

emma80233

Tijs de Jong

Forum Stats:

Groups: 8

Forums: 46

Topics: 7003

Posts: 34845

 

Member Stats:

Guest Posters: 6

Members: 6763

Moderators: 2

Admins: 2

Administrators: Rick Anderson, Rick Anderson

Moderators: Pierre Cote, Laura Nugent