Hi!
Thanks for reaching out!
Probably we can do this with a bit of CSS. Would you mind pasting the link to an example of this issue in your site, so we can check it out?
Also, please let us know which elements exactly we should highlight and where.
Thanks!
Thread Starter
mrnaso
(@mrnaso)
Hi @rochesterj,
Not sure simple css would make that possible, but let’s try and explain. Say when clicked on an event and you get to see that result box (https://aflbulgaria.com/event/ричмънд-колингууд/ for instance) with Q1, Q2, etc. I’d like to get the font color in the row of the losing team *automatically* get lighter gray at #999 or #ccc so the winning team at #333 gets the better contrast.
Also I’m using the hybrid ‘time/score’ widgets in the calendars – is there a way to do something like that there?
-
This reply was modified 7 years ago by
mrnaso.
Thread Starter
mrnaso
(@mrnaso)
I know i can use <span> style, but would rather do it automatically anyhow
Thread Starter
mrnaso
(@mrnaso)
also re: ‘time/score’ widget I’d like scores been shown 66 : 110 instead of 66 – 110
Hi!
Thanks for your reply.
I see what you mean. Indeed that isn’t possible just with CSS. I thought you wanted something similar to highlighting teams on the highest positions of a league table or similar.
For what you want, you’ll need some custom code in your theme as you will need to add the event status or a wrapper around the result.
Thanks!
Thread Starter
mrnaso
(@mrnaso)
Well this kind of highliting (as in league tables) could also do the job inside events pages 🙂
Thread Starter
mrnaso
(@mrnaso)
@rochesterj also asking about the dash again 🙂
Hi!
My idea for the league tables highlight would be a simple :nth-child selector. That probably won’t work in your case as you need a new css class for winner / loser.
Thanks!