Course Listing Layout

Re: Course Listing Layout

by Teresa Gibbison -
Number of replies: 0
Hi Thuan

You say: "change the layout of the course listing. Instead of two columns I want two rows."
My apologies, I first guessed you were talking about the course page with two columns on either side of the main content in which case the teacher can move the side course blocks around.

Now I think you are talking about changing the layout of the course information elements that list the title & teacher name plus the course description. If this is the case you should create your own theme and alter the layout of the elements for that information.

The link I provided includes information on creating your own custom theme on Moodle docs. I'm fairly new to themes too but I think you should alter the layout for the .coursebox on the #site-index page and the #course-category page in the site/theme/themname/styles_layout.css file (the attached screenshot was taken with Firefox's Web Developer toolsbar outlining the style information), e.g.

#site-index .coursebox blah blah
#course-category .coursebox blah blah {
css stuff
}

Good luck
Teresa
Attachment coursebox_classes.gif