Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

#footer-container Issues #1060

Closed
moseke opened this issue Aug 28, 2017 · 3 comments
Closed

#footer-container Issues #1060

moseke opened this issue Aug 28, 2017 · 3 comments

Comments

@moseke
Copy link

moseke commented Aug 28, 2017

For some reason, #footer-container causes so many problems!

If I delete the whole block of code, I get console errors:
screen shot 2017-08-28 at 1 41 01 pm

If I leave it in there it creates large blocks of empty space.
screen-shot-2017-08-28-at-1 29 51-pm

I don't need this container or it's contents for anything. What are your suggestions?

@colin-marshall
Copy link
Collaborator

@moseke
Please List the Following:

  • OS & version:
  • Node version (node -v) [Node v4+ is required] :
  • FoundationPress version (see line 3 in package.json):
  • Foundation version (see dependencies in package.json) :

Also please show us what your footer.php file looks like prior to removing #footer-container.

@moseke
Copy link
Author

moseke commented Aug 29, 2017

OS: Mac 10.12.6
Node: 7.9.0
FoundationPress V: 2.9.0
Foundation: 6

screen shot 2017-08-29 at 1 56 50 pm
screen shot 2017-08-29 at 1 56 52 pm

@colin-marshall
Copy link
Collaborator

@moseke thanks for that! For future reference, please copy/paste code into your message and format it using Markdown instead of posting screenshots.

To resolve your issue, simply delete the file assets/javascript/custom/stickyfooter.js which selects the #footer-container element. When you removed the element, that script was trying to select an element that no longer exists, which is why you were getting the console errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants