Page 1 of 1

Copyright

Posted: Tue Jun 18, 2019 2:32 pm
by windsurfer
I am putting the copyright at the bottom of a page and in the setup it looks like this
http://prntscr.com/o3fk1s

But when it ends up on the page it looks like this. The date changes to 2018 and i can't seem to change that.
http://prntscr.com/o3fkx2

Re: Copyright

Posted: Tue Jun 18, 2019 3:17 pm
by Pablo
This is normal behavior. The workspace just displays a place holder. The date will be correct on the published page.

Re: Copyright

Posted: Wed Jun 19, 2019 12:41 pm
by windsurfer
So i put the copyright in the footer and moved the footer to the back and the notice to the front and it always disappears on the published site. It is in the page source. The z index is 21 and when i change it to 23 it shows up.

Code: Select all

<div id="wb_JavaScript1">
<div id="copyrightnotice"></div>
<script>
   var now = new Date();
   var startYear = "2005";
   var text =  "Copyright &copy; ";
   if (startYear != '')
   {
      text = text + startYear + "-";
   }
   text = text + now.getFullYear() + ", The Tree Hugger. All rights reserved.";
   var copyrightnotice = document.getElementById('copyrightnotice');
   copyrightnotice.innerHTML = text;
</script>


</div>
</div>
<div id="PageFooter1">
</div>
 

Re: Copyright

Posted: Wed Jun 19, 2019 12:56 pm
by Pablo
Maybe there is another script on the page that causes a conflict?
What is the URL of the page and where exactly do I need to look?

Re: Copyright

Posted: Wed Jun 19, 2019 1:06 pm
by windsurfer
https://test.wilstv.com/

I don't have all the pages responsive yet but on the home page at the very bottom is the footer and the copyright is hidden.

Re: Copyright

Posted: Wed Jun 19, 2019 1:14 pm
by Pablo
The copyright script is behind the page footer, to make it part of the page footer drag it inside of the container.

Re: Copyright

Posted: Wed Jun 19, 2019 1:37 pm
by windsurfer
Hi
I thought i did that but i made the container a hair bigger and it shows up now.