Best practice forum (Archived)

CSS and page layout for course category and lesson activity

 
Bodo Hoenen
Re: CSS and page layout for course category and lesson activity
par Bodo Hoenen, Thursday 11 August 2011, 05:30
 

Hi Aaron

This one we were abel to figure out last night and this is what we did:

To fix the Layout of courses on description page:

I had to edit lib.php in the course folder. The change was made by altering line 2265:

  • From: echo '<td class="name"> '. local_course_icon_tag($course, 'small'). '<a title="'.get_string('entercourse').'"'.
  • To: echo '<td> '. local_course_icon_tag($course, 'small'). '</td><td class="name" width = "150"><a title="'.get_string('entercourse').'"'.

To fix the left align in IE

I edited the syles.php in the parent theme, adding “text-align:center;” to the body CSS content on line 10.