Making individual blocks visible/invisible - tip
Permalink
I found this to be a pretty handy trick!
I have a page of various events for my company. Some events are recurring -- and the only thing that changes is their dates.
It was annoying for me (a relative newbie) to keep rewriting new descriptions for events that basically never changed, so I implemented this idea:
For each event that's recurring, I go into its DESIGN control, click on the CSS tab, and to the custom CSS window, enter:
As long as the event is active, everything's cool.
When the event is over, I edit that CSS to read:
The block vanishes from the page, but remains as a skinny little line.
Then, a few months later, when the venue reopens and I can officially announce the event, I go back into that CSS block (I have to look carefully for the skinny line, but it's there!) and switch it back to:
Then, I change the dates to the new dates, re-arrange my blocks to suit the new schedule, save the changes, and Bob's your uncle!
I admit that this is probably a no-brainer for folks who've been doing this for a while, but it was very helpful for me to figure out, being a newbie and all, so if it helps anyone else out, fantastic!
Have fun!
I have a page of various events for my company. Some events are recurring -- and the only thing that changes is their dates.
It was annoying for me (a relative newbie) to keep rewriting new descriptions for events that basically never changed, so I implemented this idea:
For each event that's recurring, I go into its DESIGN control, click on the CSS tab, and to the custom CSS window, enter:
display:block;
As long as the event is active, everything's cool.
When the event is over, I edit that CSS to read:
display:none;
The block vanishes from the page, but remains as a skinny little line.
Then, a few months later, when the venue reopens and I can officially announce the event, I go back into that CSS block (I have to look carefully for the skinny line, but it's there!) and switch it back to:
display:block;
Then, I change the dates to the new dates, re-arrange my blocks to suit the new schedule, save the changes, and Bob's your uncle!
I admit that this is probably a no-brainer for folks who've been doing this for a while, but it was very helpful for me to figure out, being a newbie and all, so if it helps anyone else out, fantastic!
Have fun!