Merge branch 'dev10' of https://github.com/fredtempez/ZwiiCMS into dev10
This commit is contained in:
commit
e338f7ca2b
|
@ -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");
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
<?php else: ?>
|
||||
<span id="themeHeaderTitle"> </span>
|
||||
<?php endif; ?>
|
||||
</div> <!--fin container -->>
|
||||
</div> <!--fin container -->
|
||||
<?php
|
||||
if ($this->getData(['theme','header','linkHomePage'])){echo "</a>";}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue