Hi Michael,

I haven't styled CAS in a few months, but the way I used to do it was to 
put a custom style sheet in the layout.html 
<https://github.com/apereo/cas/blob/master/webapp/resources/templates/layout.html#L15>
 
file after the cas.css.  Then in your custom css you can put in any 
overrides you desire.

The code I used was: 
<link rel="stylesheet" type="text/css" href="/cas/css/custom.css" />
You might need to adjust the path a little depending on if you use /cas or 
not.

Hope that helps!

-Jeff


On Tuesday, June 11, 2019 at 5:45:42 PM UTC-7, Michael Lazar wrote:
>
> Hello all,
>
> I am working on upgrading our institution to version 6.1.0 and I'm 
> currently trying to import our theme into the new environment and 
> experiencing some issues with style names that are the same within some of 
> the libraries included (like bootstrap).
>
> In my experience with the thymeleaf engine I've been unable to just add 
> css files underneath those imported from the gradle build, any css file I 
> add doesn't seem to appear once the war deployable begins to run.
>
> I have been able to find the cache parameter within the 
> application.properties which has been helpful, but a few of the style names 
> (like "container" for example) are getting their computed value from within 
> bootstrap and I've been unable to override them without going into the 
> library and hand-editing them.
>
> Is there a way that is preferred to employ a css file that can be placed 
> at the end of the head element: after the delivered styles from these libs 
> are added?
>
> Looking forward to the group's response.
> Thanks!
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/3932dba2-f1c6-4798-b832-fa4bf796978b%40apereo.org.

Reply via email to