I created that file and added some css. cleared the cahce and nothing.
.navbar ul li a {
background-color: green;
}
h1 {color:#ff0000;background-color:#fff;}
I've been looking for answers and everyone links to the same articles but can't find simple directions to change menu background colors link colors etc.
Why am I not seeing changes added to user.css in cassiopeia?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Guru
- Posts: 505
- Joined: Thu Feb 17, 2011 6:13 am
Why am I not seeing changes added to user.css in cassiopeia?
Last edited by toivo on Fri Sep 22, 2023 10:26 pm, edited 1 time in total.
Reason: mod note: typos in subject
Reason: mod note: typos in subject
- imanickam
- Joomla! Master
- Posts: 28159
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Why am I not seeing changes added to user.css in cassopiea?
In these circumstances, it would be beneficial to share the site's URL so that others can see what is happening.
Please check whether the file user.css is getting loaded. Also, suggest using the inspect option in the browsers to check what effect the added css has on the elements.
Please check whether the file user.css is getting loaded. Also, suggest using the inspect option in the browsers to check what effect the added css has on the elements.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Guru
- Posts: 505
- Joined: Thu Feb 17, 2011 6:13 am
Re: Why am I not seeing changes added to user.css in cassopiea?
Thanks but I'd rather not link to the site. I didn't see user.css in the source.
<link href="/media/system/css/joomla-fontawesome.css?5a7cb500c6b7d72b217b82a628d4a2b1" rel="lazy-stylesheet" data-asset-name="fontawesome" /><noscript><link href="/media/system/css/joomla-fontawesome.css?5a7cb500c6b7d72b217b82a628d4a2b1" rel="stylesheet" /></noscript>
<link href="/media/templates/site/cassiopeia/css/global/colors_standard.css?5a7cb500c6b7d72b217b82a628d4a2b1" rel="stylesheet" data-asset-name="theme.colors_standard" />
<link href="/media/templates/site/cassiopeia/css/template.css?5a7cb500c6b7d72b217b82a628d4a2b1" rel="stylesheet" data-asset-name="template.cassiopeia.ltr" data-asset-dependencies="fontawesome" />
<link href="/media/templates/site/cassiopeia/css/vendor/joomla-custom-elements/joomla-alert.css?0.2.0" rel="stylesheet" data-asset-name="webcomponent.joomla-alert" />
<link href="/media/plg_system_debug/css/debug.css?5a7cb500c6b7d72b217b82a628d4a2b1" rel="stylesheet" data-asset-name="plg.system.debug" data-asset-dependencies="fontawesome" />
<link href="/plugins/system/jce/css/content.css?badb4208be409b1335b815dde676300e" rel="stylesheet" />
<style>
<link href="/media/system/css/joomla-fontawesome.css?5a7cb500c6b7d72b217b82a628d4a2b1" rel="lazy-stylesheet" data-asset-name="fontawesome" /><noscript><link href="/media/system/css/joomla-fontawesome.css?5a7cb500c6b7d72b217b82a628d4a2b1" rel="stylesheet" /></noscript>
<link href="/media/templates/site/cassiopeia/css/global/colors_standard.css?5a7cb500c6b7d72b217b82a628d4a2b1" rel="stylesheet" data-asset-name="theme.colors_standard" />
<link href="/media/templates/site/cassiopeia/css/template.css?5a7cb500c6b7d72b217b82a628d4a2b1" rel="stylesheet" data-asset-name="template.cassiopeia.ltr" data-asset-dependencies="fontawesome" />
<link href="/media/templates/site/cassiopeia/css/vendor/joomla-custom-elements/joomla-alert.css?0.2.0" rel="stylesheet" data-asset-name="webcomponent.joomla-alert" />
<link href="/media/plg_system_debug/css/debug.css?5a7cb500c6b7d72b217b82a628d4a2b1" rel="stylesheet" data-asset-name="plg.system.debug" data-asset-dependencies="fontawesome" />
<link href="/plugins/system/jce/css/content.css?badb4208be409b1335b815dde676300e" rel="stylesheet" />
<style>
- imanickam
- Joomla! Master
- Posts: 28159
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Why am I not seeing changes added to user.css in cassiopeia?
Do you have the file user.css located in the directory \media\templates\site\template-name\css?
If you are using the template Cassiopeia as is then the template-name is cassiopeia. If you are using a child template of the template Cassiopeia, then the template-name would be the child template name (e.g., cassiopeia_mine).
If you are using the template Cassiopeia as is then the template-name is cassiopeia. If you are using a child template of the template Cassiopeia, then the template-name would be the child template name (e.g., cassiopeia_mine).
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Guru
- Posts: 505
- Joined: Thu Feb 17, 2011 6:13 am
Re: Why am I not seeing changes added to user.css in cassiopeia?
No it's not there. I followed the instructions i saw online for cassopiea saying go to backend and do it and it's there but maybe not where it's supposed to be and I'd show you a photo but idk how to upload here:
Editing file "/templates/cassiopeia/user.css" in template "cassiopeia".
/templates/cassiopeia
html
component.php
error.php
index.php
offline.php
templateDetails.xml
user.css
Editing file "/templates/cassiopeia/user.css" in template "cassiopeia".
/templates/cassiopeia
html
component.php
error.php
index.php
offline.php
templateDetails.xml
user.css
-
- Joomla! Explorer
- Posts: 283
- Joined: Mon Jul 03, 2023 7:08 pm
Re: Why am I not seeing changes added to user.css in cassiopeia?
See https://magazine.joomla.org/all-issues/ ... ips-tricks (Section 0.2).
The file user.css should be located in the folder ../media/templates/site/cassiopeia/css. You placed the file in the wrong folder. I don’t know what instructions you followed—it would be nice to have the URL of these instructions—but the information we’ve given you is correct.
The file user.css should be located in the folder ../media/templates/site/cassiopeia/css. You placed the file in the wrong folder. I don’t know what instructions you followed—it would be nice to have the URL of these instructions—but the information we’ve given you is correct.
- AMurray
- Joomla! Exemplar
- Posts: 9318
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Why am I not seeing changes added to user.css in cassiopeia?
Here's the documentation you could have (should have...?) followed: https://docs.joomla.org/J4.x:Cassiopeia ... tomisation
Regards - A Murray