RSS Feed/News Importing remote CSS file

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,955
Points
823

Reputation:

I'm trying to import a remote CSS file within the extra.less template. Specifically, a Google font library:
Less:

@import url('https://fonts.googleapis.com/css?family=Overpass:300,400,700&subset=latin-ext');

With that added to the top of extra.less, I get a couple of server errors with every page load. The full error:
Code:

InvalidArgumentException: Template https://fonts.googleapis.com/css error: Template name '//fonts.googleapis.com/css' contains invalid characters...

Read more

Continue reading...
 
Status
Not open for further replies.
Top