react basic footer not at the bottom?


Topic: react basic footer not at the bottom?

david benalal asked 7 years ago

copied the blue basic footer in my code but instead of being at the bottom of the page, it\'s right under my other component. How to fix?

 

import React from 'react';
import { Col, Container, Row, Footer } from 'mdbreact';

class FooterPage extends React.Component {
render(){
return(
<Footer color="blue" className="font-small pt-4 mt-4">
<Container className="text-left">
<Row>
<Col sm="6">
<h5 className="title">Footer Content</h5>
<p>Here you can use rows and columns here to organize your footer content.</p>
</Col>
<Col sm="6">
<h5 className="title">Links</h5>
<ul>
<li className="list-unstyled"><a href="#!">Link 1</a></li>
<li className="list-unstyled"><a href="#!">Link 2</a></li>
<li className="list-unstyled"><a href="#!">Link 3</a></li>
<li className="list-unstyled"><a href="#!">Link 4</a></li>
</ul>
</Col>
</Row>
</Container>
<div className="footer-copyright text-center">
<Container fluid>
&copy; {(new Date().getFullYear())} Copyright: <a href="https://www.MDBootstrap.com"> MDBootstrap.com </a>
</Container>
</div>
</Footer>
);
}
}

export default FooterPage;

 


Bartłomiej Malanowski staff pro premium commented 7 years ago

Could you please provide us a screenshot?

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No