How to change anomaly theme color in 2.0?

How to change anomaly theme color in 2.0?

av Dan Trouten -
Antall svar: 6

Hello! The theme is now green. I need it to be a specific PMS blue (I can get the RGB breakdown). Where to I change the color in the theme?

Gjennomsnittlig vurdering: -
Som svar til Dan Trouten

Re: How to change anomaly theme color in 2.0?

av Mary Evans -
Bilde av Core developers Bilde av Documentation writers Bilde av Peer reviewers Bilde av Plugin developers Bilde av Testers

Hi Dan,

All the css rules for the colors are found in general.css in the Anomaly theme folder.

 

The GREEN color you need to replace is hex color code: #697F55

if you are replacing with rgb color codes...they are written like this...

rgb(255,255,255) which is the color WHITE

HTH

Mary

Som svar til Mary Evans

Re: How to change anomaly theme color in 2.0?

av David Roberts -

Hi Mary,

I must be having one of those days...  but I have updated the green #697F55 color codes with my slected color and nothing at all changes.. I have used CSS quite a bit and change Moodle Themes a million times but for some reason..just not working...any ideas?  This is a newly upgraded site from 1.9 to 2.0...

dave

Som svar til David Roberts

Re: How to change anomaly theme color in 2.0?

av Richard Oelmann -
Bilde av Core developers Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av Testers

David,

In Moodle2 if you are making changes to css you will either need to enable Theme Designer Mode (Site Administration->Appearance->Themes->Theme settings) or Purge All Caches (Site Admin->Development).

Theme Designer mode is better if you are making several changes, but if you only want to change one or two things then you can use the purge cache tool

HTH

Richard

Som svar til Mary Evans

Re: How to change anomaly theme color in 2.0?

av Troy Shimkus -

Hi Mary,

I'm looking for the menu hover color for this theme, I can't find it referenced in any of the css files in the anomlay folder, unless I'm just totlaly missing it, might it be somewher else that you know of?

Som svar til Troy Shimkus

Re: How to change anomaly theme color in 2.0?

av Mary Evans -
Bilde av Core developers Bilde av Documentation writers Bilde av Peer reviewers Bilde av Plugin developers Bilde av Testers

It's probably in yout browser settings! Try Tools/Options/Color smiler

I don't think it is even set in the theme, however if you add...

a:hover { color: ivory; }

or whatever color you would like it to be...http://visibone.com/colorlab/

to the core.css file (I think it's core) and then go to Purge all caches in Site Administration > Development > Purge all caches (click on button)

You will see the effect after you refresh your sceen Ctrl + F5

HTH

Mary

Som svar til Mary Evans

Re: How to change anomaly theme color in 2.0?

av Troy Shimkus -

Thanks for the help, I still wasn't able to find it. I was using Firebug to inspect the CSS and couldn't find a regernece to a background color anywhere. I ended up going to the server and directly greping the color code and cound it in the general.css file, so I eventually got it sorted out, but your steps did help determine that it had to be in the css somewhere!

Thanks again for the response! You are always so eager to help, and I can't tell you how much I appreciate you for that!