Main menu

Forum


× Help Forum English

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

  • TomL
  • Topic Author
  • New Member
  • New Member
More
11 years 6 months ago - 11 years 6 months ago #792 by 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!
Last edit: 11 years 6 months ago by Lyr!C. Reason: [SOLVED]

Please Log in or Create an account to join the conversation.

  • regis
  • regis's Avatar
  • Premium Member
  • Premium Member
More
11 years 6 months ago #793 by 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

Please Log in or Create an account to join the conversation.

  • TomL
  • Topic Author
  • New Member
  • New Member
More
11 years 6 months ago #794 by 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; ?>;">

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 6 months ago - 11 years 6 months ago #796 by Lyr!C

TomL wrote: 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) .

File Attachment:

Last edit: 11 years 6 months ago by Lyr!C.

Please Log in or Create an account to join the conversation.

  • TomL
  • Topic Author
  • New Member
  • New Member
More
11 years 6 months ago #797 by TomL
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?

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 6 months ago #799 by Lyr!C

TomL wrote: 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) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • TomL
  • Topic Author
  • New Member
  • New Member
More
11 years 6 months ago #800 by 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!

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.124 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new