Raw HTML

Posted in: Newspaper
Post count: 148

I am not quite sure what causes this:
Added a countdown timer (1) (in HTML) on my page location. Works fine.
On another location in the same column I added the same html source but with a different end time.
Result is same layout but no date display and if I make a change in the graphical layout of (1), the layout of (2) is changing as well. Can you tell what could be causing this behavior?

  • This topic was modified 11 months by DocDigit.
Post count: 35449

Hello,

This is not directly related to the theme, but I will do my best to help you!

If the counter initially works and then after editing it no longer displays, the problem is probably related to the changes you made. I recommend that you carefully review the code you modified to make sure it is correct.

The counter code uses certain classes that apply to all instances where the counter is set. So, if you make a CSS change to one of these classes, it will affect all counters. To fix this, you should add a unique class to the specific counter you are working on. Then, use that additional class to target the subclasses of the counter and apply the CSS to only that counter.

Thank you!

Post count: 148

Both codes work with without CSS. I currently solved it to use two complete different codes instead of same code with only a different deadline date.
Thanks for your suggestions.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.