Customize Cassiopeia? Topic is solved
Moderator: ooffick
Forum rules
-
- Joomla! Apprentice
- Posts: 17
- Joined: Mon Oct 07, 2019 2:37 pm
Customize Cassiopeia?
Can I add a custom.css or do I need a custom.scss? Will Joomla compile the custom.scss or do I have to compile the file by myself? No documentation out there?
-
- Joomla! Hero
- Posts: 2909
- Joined: Fri Jul 05, 2013 10:35 am
- Location: Parts Unknown
Re: Customize Cassiopeia?
SCSS compilation will not be supported. The custom CSS file should be called user.css.
- AlexVega
- Joomla! Hero
- Posts: 2711
- Joined: Fri Aug 28, 2015 6:13 am
- Location: México
Re: Customize Cassiopeia?
Hi there,
Yes, you can. Please read this info:
https://docs.joomla.org/J4.x:SCSS_and_Sass
Best Regards.
Yes, you can. Please read this info:
https://docs.joomla.org/J4.x:SCSS_and_Sass
Best Regards.
- nuxnix
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jan 28, 2010 6:09 pm
- Location: Surrey, UK
- Contact:
Re: Customize Cassiopeia?
I was able to add a user.css to make simple customisations without editing the template itself in '4.0.0-beta1-dev'.
For example to set the background colour and remove the gradient .
For example to set the background colour and remove the gradient .
Code: Select all
.container-header {
background-color: #FFFFFF;
background-image: none; }
- toivo
- Joomla! Master
- Posts: 17445
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Customize Cassiopeia?
Here is another example of user.css, setting the top margin of Submit and other buttons.
Code: Select all
/*!
* CSS fine tuning
*/
.btn {
margin-top: .25rem;
}
Toivo Talikka, Global Moderator
-
- Joomla! Apprentice
- Posts: 15
- Joined: Fri Aug 13, 2010 11:09 pm
- Location: Portugal
Re: Customize Cassiopeia?
hello!
thankz for the user.css tips. they work!
i am just trying to change the template color and it doenst seem to work?
my css knowledge is short and all i need it to change the color of the site links.
Any idea?
i have a user.css and also a custom.css but....
Thanks for your attention,
guida
thankz for the user.css tips. they work!
i am just trying to change the template color and it doenst seem to work?
my css knowledge is short and all i need it to change the color of the site links.
Any idea?
i have a user.css and also a custom.css but....
Thanks for your attention,
guida
- nuxnix
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jan 28, 2010 6:09 pm
- Location: Surrey, UK
- Contact:
Re: Customize Cassiopeia?
Try something like this which is is from my user.css :
Code: Select all
a {
color: #722206;
text-decoration: none;
background-color: transparent; }
a:hover {
color: #ce3d0b;
text-decoration: underline; }
-
- Joomla! Apprentice
- Posts: 5
- Joined: Fri Sep 06, 2019 9:31 pm
Re: Customize Cassiopeia?
You can also change the template colors in user.css, try this code (and change the color values) :
Code: Select all
:root {
--cassiopeia-color-primary: #112855;
--cassiopeia-color-link: #224faa;
--cassiopeia-color-hover: #424077;
}
-
- Joomla! Apprentice
- Posts: 15
- Joined: Fri Aug 13, 2010 11:09 pm
- Location: Portugal
Re: Customize Cassiopeia?
Thank you for the answer, I have been pretty busy and that's the cause of these delays.
I am going to stick to these good tips
Thank you for your support,
Guida
I am going to stick to these good tips
Thank you for your support,
Guida