Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have css pointing to a url on my own server (http://www.rslcontent.co.uk/kiosk/Rochester/css/content.css).
However, the css doesn't load in. I don't want to store the css on umbraco as only part of the site is on umbraco.
Why won't this load in? Do i have to put a special prefix to access external url's?
Hi Jason.
How are you referring to the css? Could you show some markup? Are there any console errors?
Inside my head tags of my html I have
link rel="stylesheet" href="http://www.rslcontent.co.uk/kiosk/Rochester/css/swiper.min.css" /> <link rel="stylesheet" type="text/css" href="http://www.rslcontent.co.uk/kiosk/Rochester/css/content.css" /> <link rel="stylesheet" type="text/css" href="http://www.rslcontent.co.uk/kiosk/Rochester/css/category.css" /> <link href="https://fonts.googleapis.com/css?family=NTR" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"> <link rel="stylesheet" type="text/css" href="http://www.rslcontent.co.uk/kiosk/Rochester/css/materialize-custom.css" />
The materialize css works but not my custom css.
Also have a similar problem with links to my js.
If have to load them through Umbraco then so be it, hwoever, as only part of my website is using Umbraco, I'd prefer my Umbraco templates to link to css on my server.
Hi Jason, are the google fonts loading also? That and your materialize reference are the only two using https so could be an issue with that.
Might want to try referencing the other assets in a protocol agnostic fashion or securing your server.
Like this: href="//www.rslcontent.co.uk/kiosk/Rochester/css/category.css"
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Linking CSS on own server
I have css pointing to a url on my own server (http://www.rslcontent.co.uk/kiosk/Rochester/css/content.css).
However, the css doesn't load in. I don't want to store the css on umbraco as only part of the site is on umbraco.
Why won't this load in? Do i have to put a special prefix to access external url's?
Hi Jason.
How are you referring to the css? Could you show some markup? Are there any console errors?
Inside my head tags of my html I have
The materialize css works but not my custom css.
Also have a similar problem with links to my js.
If have to load them through Umbraco then so be it, hwoever, as only part of my website is using Umbraco, I'd prefer my Umbraco templates to link to css on my server.
Hi Jason, are the google fonts loading also? That and your materialize reference are the only two using https so could be an issue with that.
Might want to try referencing the other assets in a protocol agnostic fashion or securing your server.
Like this: href="//www.rslcontent.co.uk/kiosk/Rochester/css/category.css"
is working on a reply...