Pro - Footer: Copyright javascript

Hi,
I have two different footers for displaying the copyright (one for desktop, another for mobile). I have added the JS in the Global area, and it works well for desktop, but it is not working (year is not showing up) for the mobile footer. Is there a fix?
Thanks!

Hi,

Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation.

Thank you.

https://www.riverstothesea.com/newRTTS

Hi There,

Thank you for the credentials, the issue is this: id="copyrightdate"

ID should be unique, do not use the same ID on a different element especially if you’re going to use it as a selector on JS.

Also update your selector from #copyrightdate to .copyrightdate

Hope that helps,
Cheers!

Ah, yesss… that makes complete sense. Thanks so much!! :grinning:

Glad that we could be of a help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.