AGAIN: unwanted centering of texts within coursepages

AGAIN: unwanted centering of texts within coursepages

by Jeroen Kleijn -
Number of replies: 3

3rd attempt to get any help on this subject.

Some time ago, all of a sudden, all texts on the course pages appeared to be centered (see example). This is undependent of chosen theme.

This is very disturbing as it ruins all layout previously setup.

Any help would be appreciated

Regards
Jeroen Kleijn
Bonhoeffercollege Castricum

 

 

 

Attachment gecentreerde_text.jpg
Average of ratings: -
In reply to Jeroen Kleijn

Re: AGAIN: unwanted centering of texts within coursepages

by Mathieu Petit-Clair -
Picture of Core developers Picture of Moodle HQ Picture of MoodleCloud team Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Can you post a link to the live website? It's most probably a theme issue. My first thought is that you have either some wrong css (in your header, from the look of the snapshot), or a tag that is not properly closed.

Hard to be more precise without being able to see the real site, or knowing precisely where this is happening, how it started, etc.
In reply to Mathieu Petit-Clair

Re: AGAIN: unwanted centering of texts within coursepages

by Jeroen Kleijn -

Mathieu,

Thank you very much for your reply.

The url of our moodle is: http://www.bonhoeffer.nl/elonew/

As you can see, the frontpage is ok.

We are using 2 themes (standard green and formal_white). Both having the same problem (only change has to do with logo)

One course I have allowed guest users for your purpose: http://www.bonhoeffer.nl/elonew/course/view.php?id=10

I hope this will allow you to check more

Thanks
Jeroen Kleijn

In reply to Jeroen Kleijn

Re: AGAIN: unwanted centering of texts within coursepages

by Just H -
Hi Jeroen

CSS is not my thing but looking at it in Firefox using the Firebug plugin suggests that you need to make a change in style.css (starting at line 2):

From

body {
text-align:center;
}

To

body {
text-align:left;
}

As mentioned, CSS isn't my thing so test this out thoroughly smile

Regards
Harry