The clickable link and text in the message block is very small on the front page. Is there a way I can enlarge it?
Many thanks in advance
The clickable link and text in the message block is very small on the front page. Is there a way I can enlarge it?
Many thanks in advance
Is there anyone that could help me with the above? I'm a bit stuck at the moment and cant make the message block available because the text is too small for people to see?
Many thanks in advance
OK - change the previous code to
.block_messages .footer a, .block_messages .message a, .block_messages .user a {
font-size:1.5em;
line-height:2em;
}
and that "Messages" is bigger too
You could also use px or pt or % values...
No - at the bottom of styles_fonts.css etc - if you open your theme folder, for example theme/Clouds/config.php you should find a row like
$THEME->sheets = array('styles_layout', 'styles_fonts', 'styles_color');
and you could paste the css to styles_fonts.css or styles_colors.css found from the same folder. If standard sheets is true and no custom sheets are defined paste the code to standard theme css files...Mike,
one more thing - if you need to change size of text "No messages waiting" the css is
.block_messages .info, .block_messages .footer a, .block_messages .message a, .block_messages .user a {
font-size:1.5em;
line-height:2em;
}
Instead of those values you could use for example font-size:12px; and line-height:16px; (I did not know which theme you have - standard theme has em values but several themes use pixels)
Check also that you have pasted css to correct theme (your current theme) css file. By the way...what version of moodle you have? (tested this with moodle 1.8 myself)
Mike,
add for example the following css to the end of the last css file in your theme config.php $THEME->sheets = array(...):
.sideblock .message a {
font-size:1.5em;
line-height:2em;
}
if you want to change font size of the name too use
.sideblock .message a, .sideblock .user a {
font-size:1.5em;
line-height:2em;
}
Or even better
.block_messages .message a, .block_messages .user a {
font-size:1.5em;
line-height:2em;
}
Then font size of other such blocks that have class "user" (at least Online users block) is not changed...
May I check your site somewhere in www ? All I need is to see the source code (css files)
Edit: I'm sure that this code works in moodle 1.8 with standard theme css but you have not told either your version of moodle or theme so I can't test it - sometimes pages may stay in cache for some time.
Well there really should not be any secrets in css files...if you look at source code of moodle.org you find after <head> ...
<link rel="stylesheet" type="text/css" href="http://moodle.org/theme/standard/styles.php?lang=en_utf8" />
<link rel="stylesheet" type="text/css" href="http://moodle.org/theme/moodleorange/styles.php?lang=en_utf8" />
and so on. Moodle reads first css from standard theme, then from custom theme, then from css for ie7 or ie6 and if you have not made any changes to core code the latter tags always override the former tags. It's the same in css files. Css at the bottom overrides css at the top.
On the other hand if you read source code of your site you should see some "classes" before "Messages" etc - those classes are used in css to give certain properties for the following html tags. With Firefox Web Developer plugin you may view css for different tags yourself too
Mike,
if this is your theme config.php - open file fw_fonts.css from the same folder, paste the code I gave you after all other tags in that file , save and move to your server to correct folder.
To that folder where your theme (on server) is...
yourmoodlesite/theme/yourtheme/fw_fonts.css
One note about greasemonkey - I have not used it and vulnerabilities from the past may be fixed but read this before you start running scripts through greasemonkey
http://tipsosaurus.com/security-tips/security-threats-of-using-greasemonkey
Is this theme related to the flex rooms theme?
ian