Css not being applied


(B Edmonds) #1

I have some linked CSS design areas, when I view source I can see the path to the Css and even click to reveal the underlying css.

However it is not showing on my page? Is this a Caching issue. I’m not sysadmin only backend user


(Nic Hubbard) #2

Can you show us the page URL?

 

It could be a caching issue. Are you using the CSS Design area as a static file?


(B Edmonds) #3

I resolved this issue by putting the css in its own folder in the Designs Folder and then using an asset link.

I did have it under its own site (to give it a URL) as I was told this would also work?


(Nic Hubbard) #4

Ideally those CSS Design files should live under a Design asset so that you can use mysoure_files style links within your parse file.


(B Edmonds) #5

Yes I did have that. My only guess is there is something globally that says the Css won’t work unless it’s under the root design folder


(Nic Hubbard) #6

Yes I did have that. My only guess is there is something globally that says the Css won't work unless it's under the root design folder

 

Nope. Not true. I never use the global Design Folder. I always put my designs under each site in their own folder. Makes it easier to compartmentalize each site. 


(Nic Hubbard) #7

Yes I did have that. My only guess is there is something globally that says the Css won't work unless it's under the root design folder

 

It DOES need to be somewhere that has a webpath though. So if you were creating it outside of a site or the design folder, then that was your issue.


(B Edmonds) #8

I was creating it under its own unique site separate to the site I was using for the build.

As someone told me this was better as it still has a web path but you can hide the site from search engines,


(Nic Hubbard) #9

I was creating it under its own unique site separate to the site I was using for the build.

 

 

Did that site have a URL and Public Read?


(B Edmonds) #10

It was deny public but open for my user group


(Nic Hubbard) #11

It was deny public but open for my user group

 

And you had applied a URL to it?