voda4
Forum Replies Created
-
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] League table incorrect orderI know this, but I only need to display it like this somewhere, and elsewhere I want it without highlighting.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] League table incorrect orderOK, so if it’s not possible, I solved it by adding an auxiliary column “U” to the table and in case of matching points, I change the resulting order.
Column “U” – https://snipboard.io/FpAiyo.jpg
Table – https://snipboard.io/4dKeCT.jpgMy color code is here:
td.data-rank { align-items: center; align-self: center; display: flex; width: 20px !important; height: 20px !important; border-radius: 4px; justify-content: center; padding: 12px; border: 0px !important; } #post-21 .sp-template-league-table tbody tr:first-child td.data-rank { background: #ffd700 !important; } #post-21 .sp-template-league-table tbody tr:nth-child(2) td.data-rank { background: #c0c0c0 !important; } #post-21 .sp-template-league-table tbody tr:nth-child(3) td.data-rank { background: #cd7f32 !important; }
Where #post-21 is my Home Page.
So when I have a table where I want to highlight it on another page (place), I add another one #post-####.
I believe it can be done in a different, better way, but this is enough for me, I don’t have much time for coding.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Problem with Event BlocksHi @rochesterj!
There is a screenshot of wp-admin https://prnt.sc/i0siq8
I don’t know how to solve it…
Hi.
This is not problem of one team. It happens to all teams.
For each team missing the last two matches in form.
Set all matches as a draft or delete them and recreating, it’s unacceptable to me, I do not have enough time for this solution.
If there is no other solution, it will be easiest to turn off the form in league table.
Is there any other solution?
In any event, thank you for trying to solve this problem.
Hi.
I use the latest WP 4.9.1, SportsPress 2.5.4, Rookie 1.5.2 versions.
I tried to disable all plugins but no change.
Do you mind something that might be a problem?
Thanks.
Hi @rochesterj!
I found a way to achieve this.
I need to advise in which file I have to merge column, form colspan=1 to colspan=2
I change HTML in Firefox browser (in Inspect Element), but don’t know where to edit it in the code (theme or plugin).
Please, look at the pictures below.
img_1 HTML code what I need editHere is the CSS code I used for that.
/* G- = hidden */ th.data-gob { display: none; } /* G+ = alignment (skóre) */ th.data-gvs.sorting { padding-left: 0px; } th.data-gob.sorting { border-left-style: hidden; } /* G+ = added " :" */ td.data-gvs:after { word-spacing: 6px; content: " :"; } td.data-gvs { border-left-width: 2px; text-align: right; padding-right: 0px; width: 50px; } td.data-gob { text-align: left; border-right-width: 2px; border-left-style: hidden; width: 50px; }
Here I add pictures (League tables) as it looks after adding codes, but now I would like to ask you where to change #text “G+” and #text “G-” to #text “Skóre” and where to make colspan = 2.
With “G+” “G-“, colspan=1 img_2 League table 1
With “Skóre”, colspan=2 img_3 League table 2 = Final formThank you in advance for your help.
Kind Regards,
Daniel- This reply was modified 7 years, 5 months ago by voda4.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Player lists – birthdayThank you.
Okay, I’ll try to write custom code.
Thank you.
Kind Regards,
DanielHi Roch!
Can you advise me, in which the .php file I have to implement this feature?
Could the code look something like this
<?php echo $GOALS(FOR)":"$GOALS(AGAINST);?>
what you think?Let’s try to advise me, thank you.
King Regards
DanielForum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Different color in tableHi.
I use the Rookie theme.
My website is https://futsalhavirov.cz/