Where are the web files saved? #3356
Replies: 3 comments 1 reply
-
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ To customize the HTML/CSS of your homepage installation running in Docker, you will need to add custom CSS or potentially JavaScript if you need to manipulate the DOM beyond what CSS can do. As per the documentation, homepage supports adding your own custom CSS and JavaScript as of version v0.6.30. Here's what you can do:
.footer-image {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
}
.footer-image img {
max-width: 100%;
height: auto;
}
document.addEventListener('DOMContentLoaded', (event) => {
const footerImageHTML = '<div class="footer-image"><img src="path_to_your_image.jpg" alt="Footer Image"></div>';
document.body.insertAdjacentHTML('beforeend', footerImageHTML);
});
Please note that editing the actual HTML files directly is not recommended as they are part of the Docker image and any changes would be lost when the image is updated or the container is recreated. If you need further assistance with the exact steps or encounter any issues, please provide more details about your current configuration and setup. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically closed due to inactivity. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
Description
I installed homepage with Docker, and I would like to edit the HTML/CSS so it displays an image at the bottom of the webpage.
homepage version
3.3
Installation method
Docker
Troubleshooting
I have looked for an html file on my drive, but I don't think I looked in the right places.
custom.css
custom.js
Beta Was this translation helpful? Give feedback.
All reactions