Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi!

    Yes! Would you mind pasting the link to your website here, so we can check it out?

    Kind Regards,
    -Roch

    Thread Starter jonbfc

    (@jonbfc)

    Thanks 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 @jonbfc

    I can’t see your site here so I won’t be of much help.

    @prtho

    Where can I can see the exact column that needs to be hidden? Just to make sure I give you the right code

    Kind Regards,
    -Roch

    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,
    -Roch

    Oh 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,
    -Roch

    Ooops setting as resolved!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Remove date column from Events List widget’ is closed to new replies.