Problems editing the styles.php file

Problems editing the styles.php file

by David Le Blanc -
Number of replies: 2

I wonder if anyone knows where in the styles.php file I can edit certain heading blocks. I have edited this file to change the text in 'Site news' as the image shows below:

Site News header before logon 

However, after members log on the text 'Site news' turns to black text:

Site news text after logon 

In addition, I would like to change the header text that appears in the log on screen to black. I can't find where to do this. See below:

Logon header text

If anyone can help I would appreciate it. Thanks. mixed

Average of ratings: -
In reply to David Le Blanc

Re: Problems editing the styles.php file

by Andreas Weber -
Hi,

to fix the "Site news" problem please add a
new class to your styles.php like this:

.headingblockcontent {

your definitions

}

To change the "Returning to this web site" text
please edit the class "headingblock" in your styles.php

From your moodle directory you can also type
grep -i -R "</font>" *
and you will find a lot of font tags in the php files
so sometimes you need to change also these php files
to get the result you want.

In reply to Andreas Weber

Re: Problems editing the styles.php file

by David Le Blanc -

Hello Andreas,

Thank you very much. This worked like a charm. to change the "Returning to this web site" text, I went to the index_form.html page in the login directory. It worked very well. big grin