additional fixes for magazine theme title issue, MDL-24185
authorjohn St <jstabinger@gmail.com>
Tue, 21 Sep 2010 18:44:05 +0000 (18:44 +0000)
committerjohn St <jstabinger@gmail.com>
Tue, 21 Sep 2010 18:44:05 +0000 (18:44 +0000)
theme/magazine/layout/frontpage.php
theme/magazine/layout/general.php
theme/magazine/style/core.css

index 4f8ea36..6a7ecdb 100644 (file)
@@ -63,7 +63,9 @@ echo $OUTPUT->doctype() ?>
                                </div>
                        </div>
                <?php } else { ?>
-                       <div id="nologo">
+                       
+                       
+                       <div id="nologo" <?php if(!$hascustommenu) {echo "class='nomenu'";} ?>>
                                <a href="<?php echo $CFG->wwwroot; ?>" title="Home"><?php echo $PAGE->heading ?></a>
                        </div>
                        <?php } ?>
index f1accba..087f256 100644 (file)
@@ -66,7 +66,7 @@ echo $OUTPUT->doctype() ?>
                                </div>
                        </div>
                <?php } else { ?>
-                       <div id="nologo">
+                       <div id="nologo" <?php if(!$hascustommenu) {echo "class='nomenu'";} ?>>
                                <a href="<?php echo $CFG->wwwroot; ?>" title="Home"><?php echo $PAGE->heading ?></a>
                        </div>
                        <?php } ?>
index f975f3c..7b3e863 100644 (file)
@@ -110,6 +110,11 @@ div.thetitle {
        padding-left: 3px;
        margin-top: 40px;
        }
+       
+#nologo.nomenu {
+       width: 100%;
+}      
+
 #nologo a, #nologo {
        font-size: 35px;
        font-style: italic;