Division line at footer



  • I would like to have a border at the top of the footer, similar to the one that shows at the bottom of the navigation. I know I can modify the footer widget, and I have done so (the <hr />😞

    <footer id="footer" class="container footer">
    <hr />
    	<div class="copyright">
    		Copyright © 2014 <a href="https://nodebb.com">NodeBB</a> | <a target="_blank" href="//github.com/NodeBB/NodeBB/graphs/contributors">Contributors</a>
    	</div>
    </footer>
    

    However, the line doesn't stretch to touch the edge of the browser, just like the navigation does. How could I go to accomplish that?



  • Hi, it's because your footer is inside the main container. If you wanted to write HTML outside of the container you'd need to alter the template file for your theme.



  • @drew said:

    you'd need to alter the template file for your theme

    Do you know which file? I tried footer.tpl and the line will go below the footer, which I don't want.


  • Admin

    @drew I'd totally be in favour of the footer being outside of the container... 😄


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.