Floating Footer in Shopping Cart...

User 2532675 Photo


Registered User
21 posts

Hello.

I been playing with your software and am trying to change the a footer in SCDP to a floating footer (Locked to the bottom of the browser) but can't seem to see how to do it?

Is this possible?

Also can I add external menu links in the software?
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

That is called a 'sticky' footer. Try the code attached.
Attachments:
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 187934 Photo


Senior Advisor
20,271 posts

Take a look at the site in my signature. It's my Coffeecup test site where I do things like what your asking. The floating menu might be a challenge but probably doable. Do you know any JQuery?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2532675 Photo


Registered User
21 posts

Inger....Where would I change the code to reflect your code.

Thats exactly what I want it to do.

Please be specific if you can.

Thanks!
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

The code I gave you is a 'general' sticky footer code. Since I don't use the scdp, I can't be more specific than that. But there must be a css file which holds all the rules for the look of the pages. That is where the css go. And the html should go into the main body. But I'm sure Eric, or Jo Ann can give you more specific help. :)
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 187934 Photo


Senior Advisor
20,271 posts

Try placing all the code in the footer of you shop.:) If you can't get that to work Place the HTML in the footer and the CSS in the header.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2532675 Photo


Registered User
21 posts

Hi Eric.

Forgive me....How do i put the code into the footer in SCDP?
User 187934 Photo


Senior Advisor
20,271 posts

Actually you do it in SCCP.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2532675 Photo


Registered User
21 posts

ok Eric....Where in SCCP does the code get added?
User 2532675 Photo


Registered User
21 posts

Key Eric.

Ok i figured out where you put the CSS....."Your Shop", "Custom Markup".

I add the CSS that was given by "Inger" above but it didn't work.

I'm assuming the DIVS it references are different when built by SCCP.

How can I get the CSS working like Inger provided.

CSS looks like this in SCCP.....



<style media="screen" type="text/css">

* { margin:0; padding:0; }

html, body, #wrap { height: 100%; }

body > #wrap {height: auto; min-height: 100%;
margin: auto;}

#main { padding-bottom: 50px; border: 1px solid green;} /* must be same height as the footer */

#footer {
position: fixed;
margin-top: -50px; /* negative value of footer height */
height: 50px;
width: 100%;
clear:both;
border: 1px solid red;}

/* CLEAR FIX*/
.clearfix:after {content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

</style>



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.