Quantcast
Channel: Assignment
Viewing all articles
Browse latest Browse all 9615

Re: Footer in pages module

$
0
0
by Saeed Amiri.  

Hi Richard

Thanks for replying.

Yes, Essential does not include div id="wrap". I added that for the mentioned purpose. I changed columns 1,2,3 (and did not change frontpage.php, of course, as It does not have such a problem) as follows:

 

.
.
.
<head>
.
.
.
</head>

<div id="wrap">
<body <?php echo $OUTPUT->body_attributes($bodyclasses); ?>>
<?php echo $OUTPUT->standard_top_of_body_html() ?>
.
.
.
</script>
<div id="push"></div>
</div>

<div id="footer">
<div class="container-fluid">
<?php require_once(dirname(__FILE__).'/includes/footer.php'); ?> 
</div>
</div>

</div>

</body>
</html>

 

I had to change the css file too, of course:

html,
body {
height: 100%;
}

#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -60px;
}

#push,
#footer{
height: 60px;
margin-right: 120px;
margin-left: 120px;
}
#footer {
background-color: #000000;
text-align: center;
}
#footer .copy {
color: #FFFFFF;
}

 

Regards

Saeed

 


Viewing all articles
Browse latest Browse all 9615

Trending Articles