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, ...Container.cssContainer.css
Previous
 
Next
New Post
4/25/2008 8:45 AM
 

Hi,

Im working on some containers. I used the standard DNN-Blue container and copied it to  "portals/0/container" and renamed all the files to CYT_container. Next i needed another container voor my links module so i Copied it again and renamed all the files to CYT_menu. Now I need to create a Submenu so i copied it again and called it CYT_submenu .I was planning on using another links module. But somehow it seems that i change something in my CYT_submenu container. it shows on both links modules.

this is the code i use to change the links module

a.normal {
    display: block;
    background-color: #FFFFFF;
    padding: 5px;
    border-top: 2px solid #f39801;
    border-bottom: 2px solid #f39801;
    width: 120px;
    text-align: center;
    color: #333333;
    margin-top: -2px;
 }

I'm new to DNN so bear with me if i'm doin things in a wierd way :P , Thx.

Greetz, R-J


www.rjdejong.net
 
New Post
5/8/2008 1:45 PM
 

I'm absolutely brand new to DNN so I probably (definitely) shouldn't be attempting to answer a question, not to mention you most likely have it resolved by now, but what the heck.

It sounds like since you copied & pasted a container (same way I editied my first one) then you will have duplicates of the targeted elements inside the containers. In other words, although you've changed the name of the container (from CYT_menu to CYTsubmenu) If they share some css rules and if both are used on your page one of them will take precedence and give you unpredicted results. Perhaps 'a.normal' should become something like '.menu a .normal' and for the other '.submenu a .normal'?

If I'm giving terrible advice, someone will surely pop in and tell me so :)

-Jon

 
New Post
5/8/2008 5:14 PM
 

Jon's advice seems on-target.  Your classes (e.g.; "a.normal") are not specific enough to be applied to one particular container.  If you want different styles across different containers, you'll need to be more specific in your selectors.  As Jon suggested, something like ".menu a.normal" will do the trick, provided that you open up the container.ascx file and ensure that it is wrapped in a class="menu" attribute.

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
5/9/2008 3:15 AM
 

You are absolutely correct :P i figured this out about a week ago , Thanks for the help though, appriciate it.

Greetz, R-J


www.rjdejong.net
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Container.cssContainer.css


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