-
iCagenda
-
iCagenda - English
-
[SOLVED] Edit event background color $item->cat_color
[SOLVED] Edit event background color $item->cat_color
-
TomL
-
Auteur du sujet
-
Nouveau membre
-
Réduire
Plus d'informations
-
Messages : 5
-
Remerciements reçus 0
-
-
il y a 12 ans 3 mois - il y a 12 ans 3 mois #792
par 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!
Dernière édition: il y a 12 ans 3 mois par Lyr!C. Raison: [SOLVED]
Connexion ou Créer un compte pour participer à la conversation.
-
regis
-
-
Membre premium
-
Réduire
Plus d'informations
-
Messages : 121
-
Remerciements reçus 11
-
-
-
-
-
il y a 12 ans 3 mois #793
par 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
Connexion ou Créer un compte pour participer à la conversation.
-
TomL
-
Auteur du sujet
-
Nouveau membre
-
Réduire
Plus d'informations
-
Messages : 5
-
Remerciements reçus 0
-
-
il y a 12 ans 3 mois #794
par 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; ?>;">
Connexion ou Créer un compte pour participer à la conversation.
-
Lyr!C
-
-
Administrateur
-
-
Lead Developer
Réduire
Plus d'informations
-
Messages : 6784
-
Remerciements reçus 608
-
-
-
-
il y a 12 ans 3 mois - il y a 12 ans 3 mois #796
par Lyr!C
TomL écrit: 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)
.
Dernière édition: il y a 12 ans 3 mois par Lyr!C.
Connexion ou Créer un compte pour participer à la conversation.
-
TomL
-
Auteur du sujet
-
Nouveau membre
-
Réduire
Plus d'informations
-
Messages : 5
-
Remerciements reçus 0
-
-
-
Lyr!C
-
-
Administrateur
-
-
Lead Developer
Réduire
Plus d'informations
-
Messages : 6784
-
Remerciements reçus 608
-
-
-
-
il y a 12 ans 3 mois #799
par Lyr!C
TomL écrit: 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)
.
Connexion ou Créer un compte pour participer à la conversation.
-
TomL
-
Auteur du sujet
-
Nouveau membre
-
Réduire
Plus d'informations
-
Messages : 5
-
Remerciements reçus 0
-
-
il y a 12 ans 3 mois #800
par 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!
Connexion ou Créer un compte pour participer à la conversation.
-
iCagenda
-
iCagenda - English
-
[SOLVED] Edit event background color $item->cat_color
Temps de génération de la page : 0.232 secondes