Changing color on Hidden courses

Changing color on Hidden courses

Vijay N發表於
Number of replies: 3

I am trying to chabge the color format of hidden courses and course categories. Does any one know how to do it? At the moment it is grey in color but because our users keep complaning that it is not visually appealing for the tutor who do have access to it I would like to change from a light color grey to comething dark. I realise that I would need to change php scirpts. I could not find any script on the Theme folder - style sheets that relate to the grey color on the hidden objects. 

Can anyone help with this.

評比平均分數: -
In reply to Vijay N

Re: Changing color on Hidden courses

Frank Ralf發表於
Hi Vijay,

Try changing the following CSS setting (see screenshot):

a.dimmed {
color: fuchsia;
text-decoration: line-through;
}

hth
Frank

PS:
CSS FAQ and Themes FAQ are good starting points for learning more about CSS and theming.
And use Firebug to find the relevant setting.
附件 Hidden_courses2.png
In reply to Frank Ralf

Re: Changing color on Hidden courses

Vijay N發表於

Hi Frank,

I have tried your suggesion and was able to change the color to the pink version, but on a related topic is there a delay in time between the setting up the script for the page and the time is gets activated on the website. AFter refreshing teh IIS server that is hosting the website several time I was finally able to get the color running.

this is code kept:

a.dimmed:link,
a.dimmed:visited {
  color:#B65B5B;
}

[just to make sure we are on the same page, this is under the "CORE" of the style_color.css script]

In reply to Vijay N

Re: Changing color on Hidden courses

Frank Ralf發表於
CSS is usually cached by the server and/or the browser so you have to make sure to clear the cache before any changes to CSS files show up on the web page.

For disabling the browser cache use Web developer toolbar, another invaluable Firefox extension for web development.

Frank