change colors of schedule elements

Best WordPress theme for festivals or other events with responsive, clean and unique design.
GK User
Sat Apr 25, 2015 3:40 pm
Hello,

I'd like to set the colors of the schedule elements individually, in order to adapt them according to the different locations.
For example: every act on stage A appears green and every act on stage B appears orange in the schedule.

Default color for all schedule elements is orange and I think it wouldn't be a problem to change that, but then I'd still have only one color.

Is there a way to set individual colors for the schedule elements? Perhaps via the css override file?

greetings
Klaus
User avatar
Fresh Boarder

GK User
Mon Apr 27, 2015 7:32 am
Hello,

You can change the shedule part to:
Code: Select all
<dd class="color1"><strong>10:00-12:00</strong>
<div class="gkcol1">
<div><span>Registration</span></div>
</div>
</dd>


and in the override.css file add the color:
Code: Select all
.gk-schedule dd.color1 > div > div a,
.gk-schedule dd.color1 > div > div span {
   background-color: #ddd;
}

and you can use other values like color2, with another color values.
User avatar
Moderator

GK User
Mon Apr 27, 2015 7:30 pm
That's great - thank you very much :)
User avatar
Fresh Boarder

GK User
Fri May 01, 2015 9:19 am
Thank you again for the useful reply. It works :)

But now I noticed that the color change applies for the whole column, but I'd like to set different colors for different elements in one column.

I think, I have to create a div-class for that instead of a dd-class? Is this possible?

Thank you very much again.
User avatar
Fresh Boarder

GK User
Tue May 05, 2015 7:23 am
Could you send me an URL to your site (here or via private message), then I'll be able to check it.
User avatar
Moderator

GK User
Thu May 07, 2015 10:46 am
here is the url: http://sommerspektakel.org/programm/

I mistook column for row. The colors apply for the whole row, but I'd like to set different colors in one row - the aim is to classify different types of acts via colors (i.e. orange for music, green for talk, blue for workshop...)
User avatar
Fresh Boarder

GK User
Thu May 07, 2015 12:13 pm
Ok, I understand, instead of this fragment:
Code: Select all
<dd class="green"><strong>16:30-19:00</strong>
<div class="gkcol2">
<div><strong>Platz</strong><span>Vorprogramm</span></div>
<div><strong>Kirche</strong><span>Abendgebet</span><small>18:00</small></div>
</div>
</dd>

use
Code: Select all
<dd><strong>16:30-19:00</strong>
<div class="gkcol2">
<div class="green"><strong>Platz</strong><span>Vorprogramm</span></div>
<div><strong>Kirche</strong><span>Abendgebet</span><small>18:00</small></div>
</div>
</dd>


and use this css code:
Code: Select all
.gk-schedule dd > div > div.green span {
   background-color: #01DF3A;
}

and you'll be able to control each single block of the shedule.
User avatar
Moderator


cron