I am currently in the process of creating a single-page layout website. What I want is to have the elements with the class "footer-bar" positioned absolutely on each page, but on the #Home Page, it should be position relatively.
Does anyone have any suggestions on how to make specific changes to individual pages? I don't want to have the footer written into every page, just once. I only need a CSS change if I am on the #Home page.
Thank you for any ideas.
<ul>
<li><a href="#Home">Home</a></li>
<li><a href="#Other">Other</a></li>
</ul>
<ul class="tabs-content">
<li id="Home"> Content for Home Page </li> ---->Footer position:relative
<li id="Other"> Content for Other Page </li> ---->Footer position:absolute
</ul>
<div class="footer">Footer Content</div>