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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Title Colors Transfer Between ContainersTitle Colors Transfer Between Containers
Previous
 
Next
New Post
1/9/2010 10:06 PM
 

I've got an issue where my title colors transfer between the containers across the page, despite having set them to different colors in their css files. Can someone help?

http://www.kandrascajuncakes.com/AboutUs.aspx

Left title is supposed to be brown, right title is supposed to be red, but the title on the left overrides the title on the right.

 
New Post
1/10/2010 10:02 AM
 

You used the same CS class in both containers, which means they wil influence each other.

.TitleHead {
color:#792809;
 
New Post
1/10/2010 2:49 PM
 

If I change the css class, I've got to change it for every one. I thought that dnn could distinguish between them, and that was the point of making different skin files, to match the html.

Looking at the default containers, they use a seperate file that matches the name of the html file, with only color information in that css property file. The css description is different, ex: .c_head_grey and .c_head_blue, but there is nothing in the html file that points to these properties. The only thing in the html file about css for the title is <h2 class="c_title"> and <param name="CssClass" value="TitleHead" />

How is it that these default files don't bleed into each other?

 
New Post
1/11/2010 3:03 AM
 

Hi

module.css is an overriding css stylesheet so if you ahve 2 module.css files the last one lcoaded it he one to use.

I wouldnt use module.css but do it all in the skin.css and then apply a differnt class to each container

 

your css would be


.contaienr2 .TitleHead {
color:#792809;

your container would be

 

<div class="container1">

...................

</div>

 

 

<div class="container2">

...................

</div>

 

 

 
New Post
1/11/2010 4:07 AM
 
christopher wrote:

If I change the css class, I've got to change it for every one. I thought that dnn could distinguish between them, and that was the point of making different skin files, to match the html.

Looking at the default containers, they use a seperate file that matches the name of the html file, with only color information in that css property file. The css description is different, ex: .c_head_grey and .c_head_blue, but there is nothing in the html file that points to these properties. The only thing in the html file about css for the title is

------------------

The class you mention is in the default containers, they are at the top of the HTML in the first div IIRC.
They are not generated by DNN
 

 
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Title Colors Transfer Between ContainersTitle Colors Transfer Between Containers


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