Merge branch 'dev10' of https://github.com/fredtempez/ZwiiCMS into dev10

This commit is contained in:
fredtempez 2019-11-13 13:04:00 +01:00
commit e338f7ca2b
2 changed files with 4 additions and 2 deletions

View File

@ -350,7 +350,9 @@ core.start = function() {
var heightpx = "<?php echo $this->getdata(['theme','header','height']);?>";
var height = heightpx.substr(0,heightpx.length-2);
var ratio = width / height;
$("header").height( $(window).width() / ratio );
if ( ($(window).width() / ratio) <= height) {
$("header").height( $(window).width() / ratio );
}
$("header").css("line-height", $(window).width() / ratio + "px");
}
}).trigger("resize");

View File

@ -67,7 +67,7 @@
<?php else: ?>
<span id="themeHeaderTitle">&nbsp;</span>
<?php endif; ?>
</div> <!--fin container -->>
</div> <!--fin container -->
<?php
if ($this->getData(['theme','header','linkHomePage'])){echo "</a>";}
?>