Add a logo to formfactor theme: need help please!

Add a logo to formfactor theme: need help please!

by Mario Calixte -
Number of replies: 0

Hello everyone.

I am practically new to Moodle. I am having trouble adding a logo to the Moodle formfactor theme. I did all I can.

I modified the core.css file: #logo { margin:25px; padding:10px; height:auto; width:auto;   float:left; background-color: transparent;}

I also added this line of code to the frontpage.php and general.php files:

<div id="logo"><img src="<?php echo $OUTPUT->pix_url('logo', 'theme');?>" alt="logo"></div>

I added the logo.png file to the pix folder inside the formfactor

Unfortunately it's not working.

Here is what appear at the header of Moodle site:

When I checked the HTML code with firebug, this is what I got: <img alt="logo" src="http://localhost:1080/eLearning/theme/image.php/formfactor/theme/1387311675/logo" id="yui_3_7_3_2_1387311756677_21">

This is not what I added to the frontpage.php and general.php files.

Can someone help me please?

Average of ratings: -