Remove date column from Events List widget
-
Hi,
I’d like to be able to remove the date column in the events list widget in the same way that you can remove the events, time/results, venue and article columns.
Is this possible?
-
Hi!
Yes! Would you mind pasting the link to your website here, so we can check it out?
Kind Regards,
-RochThanks Roch: http://totalsportsnews.co.uk/
As you can see I’m looking to have the day’s fixtures listed on the right sidebar so displaying the date becomes redundant in this case.
Hi!
Adding a new column would require some custom code unfortunately. Hiding can be done. Add the following code in your custom css field (
Wp admin > SportsPress > Settings > General > Custom CSS) and let us know how it works:.post-256 .sp-event-list tr > *:first-child { display: none; }Kind Regards,
-RochOh yes, got that!
Thanks Roch for bumping me toward right way! And yes, I agree that giving a correct answer right away would not educate me so much in CSS. 🙂
These two codes in Sportspress’ custom CSS did it!
This removes the first cell from title row.
.post-256 .sp-data-table th:first-child {
display: none;
}
and this removes the first data column from a table.
.post-256 .sp-event-list td:first-child {
display: none;
}Thanks again Roch!
-prtho
Hi!
Actually the first snippet does the same thing 🙂 But once the > got escaped the code didn’t work anymore (so you’d need a plugin to add it or using it directly in theme or plugin files).
But I’m glad it’s resolved. Let us know if you need anything else!
Kind Regards,
-RochOoops setting as resolved!
The topic ‘Remove date column from Events List widget’ is closed to new replies.