Adding a header logo breaks the design

Adding a header logo breaks the design

by Tom Hogan -
Number of replies: 4
I made a copy of the orangewhite theme and started modifying it, among other things with the Zen Garden icon set.

I also wanted to add a header logo, so I followed the instructions here (http://docs.moodle.org/en/Header_logo) to the letter.

However, as the enclosed screenshot shows, the header logo is successfully added, but somehow the design is broken with this warning (?) at the top.

My site is a brand new installation with the latest 1.8.1 build.
Attachment logobreak.png
Average of ratings: -
In reply to Tom Hogan

Re: Adding a header logo breaks the design

by Patrick Malley -
If you could ZIP your header.html file and attach it to a reply in this forum, I'm sure someone here would be willing to take a look at it for you.

Have you tried validating your markup?

http://validator.w3.org/
In reply to Patrick Malley

Re: Adding a header logo breaks the design

by Tom Hogan -
Thanks for your quick reply!

I tried now to validate, but am none the wiser because even the original header file (from one of the standard themes) had errors. At least I fixed two errors that resulted from entering the logo information (from Moodle docs, so in fact none of the markup is mine wink), and tried again.

Same result.

I have enclosed a zip of the header.html file in case anyone can help.

Thanks,
Tore
In reply to Tom Hogan

Re: Adding a header logo breaks the design

by Mauno Korpelainen -

Hi Tore,

you have edited something else than needed...smile

Here you have an edited version of your edited version of header.html

You may still need to change a couple of things to make your theme work as you like.

Average of ratings: Useful (1)
In reply to Mauno Korpelainen

Re: Adding a header logo breaks the design

by Tom Hogan -
Hi Mauno,

Excellent work, this works perfectly! Thank you so much!

big grin