-
iCagenda
-
iCagenda - English
-
[SOLVED] Edit event background color $item->cat_color
[SOLVED] Edit event background color $item->cat_color
-
TomL
-
Autore della discussione
-
New Member
-
Riduci
Di più
-
Messaggi: 5
-
Ringraziamenti ricevuti 0
-
-
12 Anni 3 Mesi fa - 12 Anni 3 Mesi fa #792
da TomL
Hi
I'm trying to edit the purple background color that appears in the default template when there is an event (calendar view), and behind each date in the list view.
I've looked in the default_style.css as well as my template css to see if anything was overriding it, but I can't find it anywhere.
Can somebody help? Thanks!
Ultima Modifica 12 Anni 3 Mesi fa da Lyr!C. Motivo: [SOLVED]
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
regis
-
-
Premium Member
-
Riduci
Di più
-
Messaggi: 121
-
Ringraziamenti ricevuti 11
-
-
-
-
-
12 Anni 3 Mesi fa #793
da regis
If I understand your request you must edit the file test_list.php in your template.
- Si vous aimez iCagenda et son support, merci de poster un petit commentaire sur le JED
- If you like iCagenda and support, thank you to post a small comment on the JED
➯
♥ iCagenda on JED
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
TomL
-
Autore della discussione
-
New Member
-
Riduci
Di più
-
Messaggi: 5
-
Ringraziamenti ricevuti 0
-
-
12 Anni 3 Mesi fa #794
da TomL
I don't see a test_list.php in the template, although I do see a default_list.php
Within that file I see the code below, which I'm assuming is dictating the color of the background. Unfortunately I don't have any PHP experience, so it's difficult for me to understand how the color is being set.
<?php $RGB = explode(",",convertColor($item->cat_color)); $a = array($RGB[0], $RGB[1], $RGB[2]); $somme = array_sum($a); ?>
<div class="box_date" style="background:<?php echo $item->cat_color; ?>; <?php if ($somme > '600'): ?>color: grey<?php endif; ?>;">
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
Lyr!C
-
-
Administrator
-
-
Lead Developer
Riduci
Di più
-
Messaggi: 6784
-
Ringraziamenti ricevuti 608
-
-
-
-
12 Anni 3 Mesi fa - 12 Anni 3 Mesi fa #796
da Lyr!C
TomL ha scritto: Hi
I'm trying to edit the purple background color that appears in the default template when there is an event (calendar view), and behind each date in the list view.
I've looked in the default_style.css as well as my template css to see if anything was overriding it, but I can't find it anywhere.
Can somebody help? Thanks!
There's no purple color in the templates of iCagenda.
Can you give me a link, or an explicit capture, so i will be able to tell you what to edit!
Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!
Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on
JED (Joomla Extensions Directory)
.
Ultima Modifica 12 Anni 3 Mesi fa da Lyr!C.
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
TomL
-
Autore della discussione
-
New Member
-
Riduci
Di più
-
Messaggi: 5
-
Ringraziamenti ricevuti 0
-
-
-
Lyr!C
-
-
Administrator
-
-
Lead Developer
Riduci
Di più
-
Messaggi: 6784
-
Ringraziamenti ricevuti 608
-
-
-
-
12 Anni 3 Mesi fa #799
da Lyr!C
TomL ha scritto: Hi
You can see the issue on this page: portlandrfc.com/news/upcoming-fixtures
The color that appears behind the dates on both the list and calendar view.
Based on your response, perhaps this is coming from my theme?
it's just because you have selectec this colour in the edit of your category "Men's Fixtures" !
Just edit it with the colour you want for this cat
Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!
Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on
JED (Joomla Extensions Directory)
.
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
TomL
-
Autore della discussione
-
New Member
-
Riduci
Di più
-
Messaggi: 5
-
Ringraziamenti ricevuti 0
-
-
12 Anni 3 Mesi fa #800
da TomL
Of course. How embarrassing!
I always forget the user managed options and assume the problem is more complicated than it really is.
Thanks for your help!
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
iCagenda
-
iCagenda - English
-
[SOLVED] Edit event background color $item->cat_color
Tempo creazione pagina: 0.137 secondi