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>
© {(new Date().getFullYear())} Copyright: <a href="https://www.MDBootstrap.com"> MDBootstrap.com </a>
</Container>
</div>
</Footer>
);
}
}
export default FooterPage;
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Bartłomiej Malanowski staff pro premium commented 7 years ago
Could you please provide us a screenshot?