Hide and show two rows at the same time
-
Hi guys! I have to VC rows, and I want to hide the first and show the second at the same time. And when the time is over, it shows again the first and hide the second row.
The first row is a countdown to a soccer match, and the second is a video streaming player.
Actually I have this code:
[time-restrict on=”2017-07-07 11:45:00″ off=”2017-07-07 11:44:00″]
[vc_row][vc_column]//Countdown//[/vc_column][/vc_row]
[/time-restrict][time-restrict on=”2017-07-07 11:44:00″ off=”2017-07-07 11:45:00″]
[vc_row][vc_column]//Video stream player//[/vc_column][/vc_row]
[/time-restrict](it’s only one minute difference because I’m testing)
The thing is that the second row show correctly at 11:44, but the first is always hidden. Even after 11:45. I thing the problem is that the off time is previous than the on time.
How can I “hide X content from-to time”?
Thanks!
- The topic ‘Hide and show two rows at the same time’ is closed to new replies.