No borders in courses

No borders in courses

'mei a Jesse Thorstad - 'aho
Number of replies: 10
I'm using Moodle 1.7+ (2006101009). I've just noticed that course pages don't have borders around the weeks/topics, and it looks very ugly.

This is on an intranet server that is not online, so I can't let you see it, but here is a screenshot.

This happens with every theme. I tried editing styles.php in the Standard theme per a suggestion a few threads below, but that had no effect.

Anyone have any ideas?

Regards,

Jesse
Average of ratings: -
In reply to Jesse Thorstad

Re: No borders in courses

'mei a Mauno Korpelainen - 'aho
Are your themes from earlier versions of moodle or moodle 1.7 themes (that come with moodle 1.7 )? Usually there is no need to edit moodle 1.7 Standard theme at all. This theme has all the basic settings for moodle. Other themes of moodle 1.7 should work correct too and you can edit these as much as you like. If you have made themes with earlier moodle versions you may need to do some changes to make them 1.7 compitable (rarely).
In reply to Mauno Korpelainen

Re: No borders in courses

'mei a Jesse Thorstad - 'aho
Mauno,

Thanks for your reply. They are the standard themes that installed with 1.7+.

Do you know off the top of your head which CSS file would contain the settings I need? I suspect it's a class that's contained within a table, but I'm having a hard time figuring out where I'd change things...

Kind regards,

Jesse
In reply to Jesse Thorstad

Re: No borders in courses

'mei a Mauno Korpelainen - 'aho

They are in #course-view .section , #course-view .current and  #course-view .hidden  -tags in styles_layout.css and styles_color.css (colors)

If you have not edited these files the reason could be also in file course/view.php (have you edited it?)

In reply to Mauno Korpelainen

Re: No borders in courses

'mei a Jesse Thorstad - 'aho
No, I've not edited view.php. Should I in some way?

Thanks again!

Jesse
In reply to Jesse Thorstad

Re: No borders in courses

'mei a Joseph Rézeau - 'aho
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Maybe a cache problem? See this thread.
Joseph
In reply to Joseph Rézeau

Re: No borders in courses

'mei a Jesse Thorstad - 'aho
Joseph,

Hmmm...thanks for that link. I don't think it's a cache problem as we don't have any fancy server-side caching happening (that I know of!).

A funny thing, though: borders on the main page (which is a course, right) are fine and dandy!

I will dig into the css a bit more...any other ideas welcomed! Malimali

Regards,

Jesse
In reply to Jesse Thorstad

Re: No borders in courses

'mei a Mauno Korpelainen - 'aho

Some more ideas to check:

1) Browser??? Press refresh a couple of times...

2) Footer: have you edited footer.html or taken it away (there are some closing tags for divs or tables)

In reply to Mauno Korpelainen

Re: No borders in courses

'mei a Jesse Thorstad - 'aho
Hi,

Tried other browsers, same problem.

I haven't edited footer.html.

I wonder if I just got one corrupt file in my Moodle download?
In reply to Jesse Thorstad

Re: No borders in courses

'mei a Mauno Korpelainen - 'aho
It is possible. You could try another version too...
Average of ratings: Useful (1)
In reply to Mauno Korpelainen

Re: No borders in courses

'mei a Jesse Thorstad - 'aho
OK, it wasn't any corruption in any files...I reinstalled and had the same problem.

HOWEVER, I was having a problem with a quiz and posted my problem on another forum.

There I got some advice regarding a port that my server uses.

In short, I made a change to my config (adding the port number to my URL) and everything is totally, completely ducky!

Thanks, all...