Thanks for spotting this. I need to read more carefully. I'll try it out.
I made the correction but still have the same problem.
PS I've also enrolled on a CSS course.
PS I've also enrolled on a CSS course.
I also edited directly the frontpage.scss file directly.
When I inspect using chrome, the old code is still there.
When I inspect using chrome, the old code is still there.
OK I added !important to each element and it worked.
I still don't understand why directly editing frontpage.scss didn't work though.
Oh, sorry I missed the other basic mistake - are they classes or ids? I don't have Moove, but I think on my Moodle they are all IDs?
It should probably be:
#page-site-index.notloggedin #page-header {
background-color: rgb(0,0,0);
}
#page-site-index.notloggedin #page {
background-color: rgb(0,0,0);
}
(IDs #, classes . )
It should probably be:
#page-site-index.notloggedin #page-header {
background-color: rgb(0,0,0);
}
#page-site-index.notloggedin #page {
background-color: rgb(0,0,0);
}
(IDs #, classes . )
Edit: re editing the scss file directly, did you then purge all/theme caches, as Moodle's css is cached.
When I inspect the header image in Chrome, this is highlighted.
Does deleting cache in Chrome delete the theme caches?
Thanks for the replies. Getting there.
Does deleting cache in Chrome delete the theme caches?
Thanks for the replies. Getting there.
No, Chrome browser cache and Moodle's own caching are two different things.
You need to go to Site Admin > Development > Purge Caches (There may be a link in your footer). I usually keep that open on a separate tab when I'm working on css things.
You need to go to Site Admin > Development > Purge Caches (There may be a link in your footer). I usually keep that open on a separate tab when I'm working on css things.
Thanks very much.
I've almost completed the Front page.
Just one last question (or I could make a separate post?).
Because I put a footer image, it overlaps the rest of the footer apart from the Home page.
Can I remove the footer from all pages apart from the Home page (without login)?
I've almost completed the Front page.
Just one last question (or I could make a separate post?).
Because I put a footer image, it overlaps the rest of the footer apart from the Home page.
Can I remove the footer from all pages apart from the Home page (without login)?