Hi,
Q: how can I change the block width?
Thx in advance.
BR, sue
If you tell me what widths you would like the blocks I can let you have the code.
Alternativly you can experiment using this great little program made by Dietmar Wagner especially for this very thing!
http://dwagner.eu/moodle20tools/simple-px-normal.php
Have fun
Mary
Hi,
Thank you for your reply and the link.
I think I know why all the things I'd come up w/ failed.
Let me have fun fiddling w/ the codes the link provides w/... for a while.
BR, sue
Hi, Dietmar!
Thank you for your info. Yup, I'll look into it!
BR, sue
Hi,
I've fiddled w/ codes and made it to widen the block width a couple of times. But the width got stuck at 200px, the original one, at a stage and I can't change it any longer. Sure I did sth wrong...
Q1: could you pls. give the answer (the code w/ 250px block) to this weak student. Ma'am???
However, a good news. I found one of my problems was gone.
Before the selection bar wasn't w/i the block.
BTW,
Q2: how could I solve this?
Thank you in advance.
Hi,
re: calendar,
Seems I've solved it???
re: block width,
I've attached the css sheets.
Q1: are they correct?
Since config.php in Aarvard Postit says,
$THEME->parents = array('canvas','base');
I've customised the pagelayout.php of canvas and base.
Q2: should these be w/ base pagelayout.php???
/** Stabalise some IE6 behaviour **/
/** Report layout **/
/** Correct for content only **/
/** Correct for right to left languages **/
/** Stabalise IE6 behaviour on the report layout **/
Sue,
Definitely not a good idea to edit the css of base and canvas. These are core themes which are used as parents of many other themes which your changes will affect. They will also get overwritten whenever you upgrade your moodle.
Any css changes you have made you should be able to copy into the css files of postit and this will overwrite any css in canvas or base.
Richard
Hi,
Thank you for your advice.
>Definitely not a good idea to edit the css of base and canvas.
I thought so.
>These are core themes which are used as parents of many other themes which your changes will affect. They will also get overwritten whenever you upgrade your moodle.
I knew that I wouldn't use other themes at this stage and dared to do so...
>Any css changes you have made you should be able to copy into the css files of postit and this will overwrite any css in canvas or base.
Right! I've totally forgotten about this.
Anyway, this is what I did w/ my testmoodle installed on my PC, so so far no harm on anything.
OK...
With respect to what you are trying to do with the theme...is work within the theme itself.
In Aardvark Post-IT new version get it from my GITHUB
https://github.com/lazydaisy/Moodle-Studio/tree/aardvark_postit
This has latest changes to fix some errors.
As for changing the block widths what width do you want them to be?
If you let me know I'll do the changes and let you have the CSS to fix your theme...OK?
Cheers
Mary
Hi,
Thank you for your help.
I've even tested as below, but w/o a success.
1. put the original base and canvas pagelayout.php. back.
2. put a pagelayput named "postit_pagelayout" in Style folder.
3. add extra line in config.php.
Sorry I missed the bit about the 250px block width in previous version.
I'll get back with code for you.
Cheers
Mary