Steve
September 10, 2014 at 2:09 pm
My clients have a registration page like this:
http://bramongarciabraun.com/bgb-classes/the-daytime-workout-1/
They would like to remove the classes which are not available for registration yet. How can I do this?
Lorenzo Orlando Caum
September 10, 2014 at 7:22 pm
Add New Note to this Reply
Hi,
Try this CSS:
/* October registration */
#tkt-slctr-tbl-7927 .tckt-slctr-tbl-tr:nth-of-type(3) .tckt-slctr-tbl-td-name,
#tkt-slctr-tbl-7927 .tckt-slctr-tbl-tr:nth-of-type(3) .tckt-slctr-tbl-td-price,
#tkt-slctr-tbl-7927 .tckt-slctr-tbl-tr:nth-of-type(3) .tckt-slctr-tbl-td-qty {
display:none;
}
/* November registration */
#tkt-slctr-tbl-7927 .tckt-slctr-tbl-tr:nth-of-type(5) .tckt-slctr-tbl-td-name,
#tkt-slctr-tbl-7927 .tckt-slctr-tbl-tr:nth-of-type(5) .tckt-slctr-tbl-td-price,
#tkt-slctr-tbl-7927 .tckt-slctr-tbl-tr:nth-of-type(5) .tckt-slctr-tbl-td-qty {
display:none;
}
/* December registration */
#tkt-slctr-tbl-7927 .tckt-slctr-tbl-tr:nth-of-type(7) .tckt-slctr-tbl-td-name,
#tkt-slctr-tbl-7927 .tckt-slctr-tbl-tr:nth-of-type(7) .tckt-slctr-tbl-td-price,
#tkt-slctr-tbl-7927 .tckt-slctr-tbl-tr:nth-of-type(7) .tckt-slctr-tbl-td-qty {
display:none;
}
Should then look like this:
http://cl.ly/image/2V403x0Q0k2Z
I would add the CSS to a plugin like My Custom CSS or Reaktiv CSS builder so your client can easily remove them as needed.
—
Lorenzo
Lorenzo Orlando Caum
September 10, 2014 at 7:25 pm
Add New Note to this Reply
Also, here is how to hide expired tickets:
.tckt-slctr-tbl-tr.ticket-sales-expired.lt-grey-text{display:none}
Thanks
—
Lorenzo