Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2019
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Need Help With Footer Coding

    Greetings all,

    I need some help coding the footer on my website.
    What I'm trying to achieve is;
    Footer remains at the bottom of the viewport, unless the content extends past the bottom, in which the footer moves to the end of the content.

    The website I'm currently building is;
    Marleys Transport - Home

    On the "Home" page, the footer sits below the content as the content extends below my screen, Great!
    However, over on the "Contact Us" (Depending on the size of your screen), the footer sits roughly two thirds of the way down, not at the bottom of the viewport!

    Can some Techwiz grant me their magical knowledge and fix my problem before I go insane!

    Much appreciated,
    Tye.

  2. #2
    Senior Coder deathshadow's Avatar
    Join Date
    Feb 2016
    Location
    Keene, NH
    Posts
    3,618
    Thanks
    5
    Thanked 524 Times in 510 Posts
    What you are looking for is called a 100% min-height layout. This is something that flex can do rather easily, but it involves a bit of a rewrite.

    Though to be frank, what are you making that in? you seem to have a slew of JavaScript for NOTHING, massive inlined scripting in the document for Christmas only knows what... unless my adblock or security is blocking it, 90%+ of the JavaScript you have there belongs in the trash as I see NOTHING on ANY of the pages to warrant the PRESENCE of client-side scripting apart from ... oh, it's weebly.

    Well, you're s*** outta luck. There's a reason I call that a SCAM. Sorry to say, you've been suckered by a SCAM. Good luck making any REAL custom changes to the page, much less making a website that's actually useful to users.

    My advice? Learn HTML, learn CSS, and throw that wreck in the trash to start over from scratch. There is NOTHING I would try to salvage from that codebase.

    Apologies if that sounds harsh, but the light of reality often is. Scams like wix/weebly/blogger saddle up nubes and rubes alike, run roughshod over them, and then pull a "Billy Joe and Bobby Sue" once their BS has been pointed out to the abused client.
    “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.” – C.A.R. Hoare, The 1980 ACM Turing Award Lecture
    http://www.cutcodedown.com


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •