Hallo!
Gutten Tag!
Mein Name ist Roch und ich werde dir heute helfen 🙂
The number of columns in a player list can be changed in your theme. Unfortunately we can’t provide you the custom code for an arbitrary change.
But we can set a minimum width just for mobile devices, this way they’ll be readable and in one column.
Add the following code in your custom css field ( Wp admin > SportsPress > Settings > General > Custom CSS ) and let us know how it works:
@media only screen and (max-width: 780px) {
body .gallery-columns-3 .gallery-item {
max-width: 100%;
}
}
Thanks!
Thread Starter
Anonymous User 15548457
(@anonymized-15548457)
Thank you, that worked. I only did it with 50% instead of 100%.
May I ask you something else? I have a problem with the coach profiles. How can I let the trainers show among themselves without me entering data until the end of the picture, just so that it is between them. I would like to omit the date of birth, but then slides the image directly upwards under the text of the first coach. That is very unpractical. Is there a code for that and can help me with that? Here is a link to the page:
https://tsv-lindau-handball.de/mannschaft/herren/
Thank you in advance!
Hi!
That’s great!
As for the coaches, I’m assuming you want to do this:
http://prntscr.com/j6w9ki
We can do that with this CSS snippet:
.sp-staff-name {
clear: both;
}
Thanks!
Thread Starter
Anonymous User 15548457
(@anonymized-15548457)
WOW, great. Thanks for your (fast and perfect) Support!
Another question, is it possible to specify your own details, not just those who are present as “Current club” etc.?
Thanks for help!
Fab
Hallo Fab,
That’s great, I’m glad we were able to help you.
As for custom details, do you mean for your staff? Right now that isn’t as flexible as the player’s stats, so you can’t add a lot of information there. But you can use the current fields if you want for other information such as phone and email.
Thanks!
Thread Starter
Anonymous User 15548457
(@anonymized-15548457)
Yes, I mean the staff.
How i can use the current fields if i want type for other information such as phone and email.
Thanks Roch! 🙂
Hi!
You can add you custom information there and then use the translation files to change the name from Phone and Email in these places to something else.
The downside is that you are limited to two fields.
Thanks!