Comments (6)
Hello,
Sorry for the late response.
Please do the following changes:
In the css files add these lines:
.main-content{
min-height:100vh;
}
.footer{
position: absolute;
width: 95%;
bottom: 0;
height: 0%;
}
Please let me know if I can help you with anything else.
All the best,
Rares
from argon-dashboard.
.main-content{ min-height:100vh; } .footer{ position: absolute; width: 95%; bottom: 10px; height: 0; }
Add padding to the dive before the footer
padding-bottom: 20px
from argon-dashboard.
The only thing I'd suggest differently is setting the width to 97%, it seems to line up with the end of the container. Also, I used .pb-4 on the div before my footer.
<style>
.main-content{ min-height:100vh; }
.footer{ position: absolute; width: 97%; bottom: 10px; height: 0; }
</style>
<div class="container-fluid mt--6">
<div class="row pb-4"></div>
<footer class="footer"></footer>
</div>
from argon-dashboard.
Hello
The above solution doesn't work when the page is full of content. In that case, the footer covers content. Is there a way to keep footer at the bottom even if the site content does not fill up the available space (as asked by attilatoth86) and keep footer below the content when the page is filled up?
from argon-dashboard.
This code worked for me...
<footer id="footer-main"
style="clear: both;
position: relative;
margin-top: -50px;">
</footer>
from argon-dashboard.
thank you all, it worked.
from argon-dashboard.
Related Issues (20)
- [Bug] Sidenav need double touch to link works HOT 1
- Chart Css changed if I refresh page. See the below images. HOT 1
- JavaScript not working HOT 1
- [Bug] JavaScript not working HOT 2
- Docs Error Page Argon Dashboard Pro HOT 1
- Updating Version HOT 2
- [Question] Changing colors HOT 1
- Light / Dark - How to set to default dark mode HOT 1
- [Feature Request] Light / DARK HOT 3
- [Bug] Sidebar not covered when modal opened HOT 2
- [Bug] Sidebar turns white when the Window is resized HOT 2
- Usage HOT 2
- [Feature Request] Usage of Argon dashboard
- [Bug] Sidenav goes back to light mode when resized in dark mode HOT 5
- view pages without user login HOT 1
- Argon js is not loading extrictly after the page full load HOT 1
- [Bug] Unreadable text on scrolling HOT 1
- [Bug] Modals are not working HOT 1
- [Bug] Unable to view chart properly
- RTL search box did not show properly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argon-dashboard.