Support » Plugin: SportsPress - Sports Club & League Manager » Is there a way to show player list by squad number only – no names?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Roch

    (@rochesterj)

    Hi!

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

    Maybe it’s possible to hide the name via CSS

    Kind Regards,
    -Roch

    http://dtcdancecentral.com/all-star-companyteams/

    Thanks bunches! I am using Divi so I can work with code in the epanel without having to touch any files. Oh – Also – hide pics.

    I wanted to follow up & let you know I have found a way to do this using css within the Divi epanel.

    Plugin Support Roch

    (@rochesterj)

    That’s awesome, thanks for letting us know!

    Kind Regards,
    -Roch

    Hi Roch – I have a question I am hoping you can assist. It is still dealing with removing the names from a list & only showing numbers.

    I have used the following css code to remove the names from a certain team list:

    /*Have team data tables show only numbers no photos or names – have to specify individual teams*/

    #DataTables_Table_17 td.data-name {
    display: none
    }

    #DataTables_Table_17 td.data-name.has-photo {
    display: none
    }

    It is working perfectly on a desktop view, but when I look at the same list on a mobile view – it is showing the names along with the number. I understand this may be out of your support range – if you have any ideas why this is not being reflected on mobile or what I may need to add to get it to be the same on mobile view – I would appreciate your help.

    Thanks.

    P.S. I tried adding this code in addition to the other & it did not work:

    @media screen and (max-width:767px){
    #DataTables_Table_17 td.data-name {
    display: none
    }
    }

    @media screen and (max-width:767px){
    #DataTables_Table_17 td.data-name.has-photo {
    display: none
    }
    }

    Plugin Support Roch

    (@rochesterj)

    Hi!

    I’m not sure why it isn’t being applied, but what I’d add there is the ! important rule there so you make sure that it’ll overwrite any css there

    Kind Regards,
    -Roch

    Thanks for the suggestion – wish it would have worked. Driving me bonkers.

    Plugin Support Roch

    (@rochesterj)

    Hi!

    Just to make sure I’m looking at the right place, it’s about this one: http://dtcdancecentral.com/all-star-companyteams/ ?

    Kind Regards,
    -Roch

    Yes – the list I have the code applied to is almost at the bottom under “open – Open Jazz Allstars with numbers”

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Is there a way to show player list by squad number only – no names?’ is closed to new replies.