My Oracle Support Banner

Rendering CSS Files In Webcenter Sites (Doc ID 1531372.1)

Last updated on SEPTEMBER 23, 2019

Applies to:

Oracle WebCenter Sites - Version 11.1.1.6.1 and later
Information in this document applies to any platform.

Goal

I am trying to render a page. This page uses a CSS file. I have used the following line to access CSS.

<link type="text/css" rel="stylesheet" href="Demo/css/workingCSS1.css"/> where 'Demo' is the site name. I have enabled the 'StyleSheet' asset type for the project and have checked in a CSS file using 'New Style Sheet' option, assuming that this will create the CSS file at/css/workingCSS1.css relative location just like it is happening in 'avisports' site where the CSS is stored at <Site_Name>/css/workingCSS1.css and being accessed in the following way

The problem i am facing is that

1.) unlike sites 'avisports' and 'FirstsiteII', there is no folder getting created for my project\site in /oracle/middleware/user_projects/domains/<domain_name>/CS/<site_name>/css. I am using RealTime publish to publish my site.

2.) All my CSS files checked in through the project are getting stored only at /oracle/Middleware/Shared/Storage/StyleSheet/543/765 location. But I want these to be stored at /oracle/middleware/user_projects/domains/<domain_name>/CS/<site_name>/css.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.