Main menu

Forum


× Help Forum English

[SOLVED] Edit event background color $item->cat_color

  • TomL
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 7 mois - il y a 11 ans 7 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 11 ans 7 mois par Lyr!C. Raison: [SOLVED]

Connexion ou Créer un compte pour participer à la conversation.

  • regis
  • Portrait de regis
  • Membre premium
  • Membre premium
Plus d'informations
il y a 11 ans 7 mois #793 par regis
Réponse de regis sur le sujet Edit event background color $item->cat_color
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
  • Nouveau membre
Plus d'informations
il y a 11 ans 7 mois #794 par TomL
Réponse de TomL sur le sujet Edit event background color $item->cat_color
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
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 7 mois - il y a 11 ans 7 mois #796 par Lyr!C
Réponse de Lyr!C sur le sujet Edit event background color $item->cat_color

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.3
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) .

Fichier attaché :

Dernière édition: il y a 11 ans 7 mois par Lyr!C.

Connexion ou Créer un compte pour participer à la conversation.

  • TomL
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 7 mois #797 par TomL
Réponse de TomL sur le sujet Edit event background color $item->cat_color
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?

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 7 mois #799 par Lyr!C
Réponse de Lyr!C sur le sujet Edit event background color $item->cat_color

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?


:cheer:

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.3
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • TomL
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 7 mois #800 par TomL
Réponse de TomL sur le sujet Edit event background color $item->cat_color
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.

Modérateurs: Lyr!C
Temps de génération de la page : 0.238 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new