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, ...Solpart NightmareSolpart Nightmare
Previous
 
Next
New Post
11/9/2006 1:11 AM
 

Hey Guys & Gals,

I have been developing a new website for my company in DNN 4.3 (previously had 3.2) for the last week and am building the skin from scratch which is something i didn't do last time.  I am having an absolute nightmare with solpart though.  I am essentially trying to build a menu very similar to the dotnetnuke.com menu in style.  I need major help though as I am basically going around in circles.  Basically I made a menu and it was rubbish, so I looked through the CSS on dotnetnuke.com and found the menu styling i was looking for (below).  Yet when I paste this into my skin.css and delete all other styles pertaining to the menu i get this very average looking thing that changes font sizing when hovered, the hovers come up as the default DNNBlue hover, the back of the drop down is white.  I just don't get it.  I have read through the documentation and just don't understand what i am doing wrong.  Can anyone help me out?

My implementation of Solpart in my ascx file is simply: <dnn:MENU runat="server" id="dnnMENU" /> and I have no xml file.

What am i missing?

.MainMenu_MenuContainer{ background:transparent; width:100%; }
.MainMenu_MenuBar{}
.MainMenu_MenuIcon{ display:none; }
.MainMenu_RootMenuArrow{ display:none; }
.MainMenu_MenuItem{
 color:#777; font-weight:normal; font-size:11px;
 padding:3 15 3 10;
 border:1px #E3E3E3 solid; border-width:1px 0px;
}
.submenuitembreadcrumb{
 color:#cc0000; font-weight:normal; font-size:11px;
 padding:3 15 3 10;
 border:1px #E3E3E3 solid; border-width:1px 0px;
}
.submenuitemselected{
 color:#FFF; font-weight:normal; font-size:11px;
 padding:3 15 3 10;
 background:#cc0000;
 border:1px #E3E3E3 solid; border-width:1 0; 
}
.MainMenu_MenuArrow{
 padding:0 3 0 7;
 border:#E3E3E3 solid; border-width:1 1 1 0;
 text-align:right;
}
.submenu{
 z-index:1000;
 border-right:1px #E3E3E3 solid;
 padding:0px;
 margin-left:1px;
 color: #777;
 margin-left:2px;
 background:#E3E3E3;
 filter:progid:DXImageTransform.Microsoft.Shadow(color='DimGray', Direction=135, Strength=1);
}
.rootmenuitem TD{
 color:#777;
 font-size:11px; font-weight:bold;
 padding:0 5 0 3;
 background:transparent;
 height:32px;
}
.rootmenuitemselected TD,.rootmenuitembreadcrumb TD{
 color:#cc0000;
 font-size:11px; font-weight:bold;
 padding:0 5 0 3;
 background:transparent;
 height:32px;
}
.MainMenu_MenuBreak{
 border:0px;
 background:transparent;
}
.MainMenu_MenuBreak TD{
 color:#E3E3E3;
}

Thanks for any help you guys can offer,

Pete

 
New Post
11/9/2006 7:21 AM
 

Paul - There different method of skinning the menu- and you will need to add more to your xml or ascx file to make it happen.

That's the difference with simple menu skinning and advanced.. most people think you can create these wonderful menus by just using CSS but it's a combination of code in the ASCX file and the CSS that makes up the menu behaviour -

Now why is this you might ask - that's because there are elements like left hand separator, spaces, and other instructions that don't fit within the CSS methodology so you need to help it along by using code in the ascx file or be somewhat adept with xml to use the htmlmethod of skinning with advanced menus.

I have some free skins on my site - which have code in the ascx file and the css file as examples you can use.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
11/9/2006 10:41 AM
 

K-Flex To see which styles get applied you can use the Firefox webdeveloper toolbar (add on). 

WRT your settings, the rootmenuitem classes are not applied since you did not define them in your skin .ascx.

You need to:  <dnn:MENU runat="server" id="dnnMENU" rootmenuitemcssclass="rootmenuitem" /> etc.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
11/10/2006 10:39 AM
 
indeed firefox "web developer" is a great free tool and u can look view and copy any css in any website.
try it and u see the workings of any website re: css
 
New Post
11/10/2006 11:32 AM
 
There is also a developer toolbar for IE 6, it is still beta but working, even with IE 7

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Solpart NightmareSolpart Nightmare


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