Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsProblem with style sheet/todays dateProblem with style sheet/todays date
Previous
 
Next
New Post
12/1/2006 9:32 AM
 

Hi

a) In the stylesheet editor I'm trying to change the font colour of the event selected (highlighted by a red box) with todays date.

I've tried:

.EventTodayDay
{
color: #007558;
}

and

.EventTodayDay
{
color: #007558 !important;
}

...and it does not seem to work. What am I doing wrong?

b) In event list view, where do I change the size of the font in event title?

Many thanks!

Alex



Alex Shirley


 
New Post
12/11/2006 6:12 AM
 
Hi Alex

a) The class "EventTodayDay" is set to the TD tag. But you want to change the event-text in A tag. To do so try:

.EventTodayDay A:link, .EventTodayDay A:visited
{
color: #007558;
}

If you want to change the color of the day-number you have to use !important because there is an inline style tag:

style="color:Black"

Hope this helps

Renato
 
New Post
12/11/2006 7:53 AM
 

Thanks Renato, that helps a great deal...!

Any takers on this one? (I've altered it slightly to make it clearer)

b) In event list view, where do I change the size of the font in event title column?

Cheers

Alex



Alex Shirley


 
New Post
12/11/2006 9:39 AM
 
Hello again

You can do it also by CSS. In the browser source code search for "Events_EventMonth_DailyEvents". You'll get to the id of the table where the events are listed. Copy the whole ID with your specific Control-No (for me 396) and put it in your style-sheet:

#dnn_ctr396_Events_EventMonth_DailyEvents A:link, #dnn_ctr396_Events_EventMonth_DailyEvents A:visited {
font-size:12px;
color: red !important;
}

User !important for the color because the event-text has an inline style for the color....
Hope, this works..

Renato
 
New Post
1/17/2007 11:36 AM
 
Is the only way to control any of the look and feel of the Events module through CSS? What if I want different instances of the module to look different? Cannot simple things like the cell width be a setting instead of CSS? Thanks for any guidance you can provide on how this really works.

Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsProblem with style sheet/todays dateProblem with style sheet/todays date


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out