Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1027770

    Hi,
    We’re using a sticky footer and socket on a site using the following code;
    #footer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    z-index: 10000!important;
    }
    #socket {
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 10000!important;
    }
    The only issue is that the bottom of the content of pages is getting cut off. How can we add 100px of extra space at the bottom of all pages?

    #1028092

    Hey dburton77,

    You need to give the last containers on all pages the margin or the padding at the bottom to account for the footer height.

    Best regards,
    Victoria

    #1028114

    Victoria,

    Thanks for getting back to me so quickly. I was hoping there was a way to apply this adjustment globally so that each page would not have to be adjusted. Is there code for that?

    Doug

    #1028705

    Hi Doug,

    You could try something like this to apply a margin to the bottom of the body tag:

    body {
      margin-bottom: 120px;
    }

    Best regards,
    Rikard

    #1029770

    Works great. Brilliant!

    Many thanks,

    Doug

    #1030161

    Hi Doug,

    Great, glad we could help :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.