Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1313

General Questions/New to Joomla! 5.x • Re: Change background colour of article.

$
0
0
Maybe you used a page builder back then.
And I can see where the link to the Tips & Tricks article can get overwhelming...

Anyway...
Here is some doc on Creating a Child template and creating the user.css file.
https://docs.joomla.org/index.php?title ... _Templates

If you are planning to edit core Cassiopeia files, create a Child template to prevent losing changes after a Joomla update.
Or if you just want to change styles, then creating or uploading a user.css file is enough.

You can pick colours through https://colours.joomla.com and download the created user.css file.
Then use the upload option when you create the user.css file for your template.

Or, you can create an empty user.css file.
To add a background colour to the body, add this to your newly created user.css

Code:

:root {  --body-bg: #bfd7de;}
* This is an example light blue
Thank you so much for all of that information.

I'm not sure if I have this correctly but can I add –
:root {
--body-bg: #bfd7de;
}
to an empty user.CSS file and then I will get the blue background?
And is it possible for me to change the colour by just putting in the colour I want which is – #B2F8FF ?

Thank you. I remember from before that I'm amazed at the amount of help and goodwill from knowledgeable Joomla members. I don't think Joomla would be possible without this forum. Certainly not for me.

Statistics: Posted by lotusmoon — Sat Jun 29, 2024 3:49 pm



Viewing all articles
Browse latest Browse all 1313

Trending Articles