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, ...MainMenu_MenuContainer Height ControlMainMenu_MenuContainer Height Control
Previous
 
Next
New Post
3/23/2007 4:07 PM
 
I installed a new skin. And I'm reading over the DotNetNuke Skinning.pdf
In my ModuleControls table the MENU is set to use "Admin/Skins/SolPartMenu.ascx"

I would like to change the height properties of the MenuBar.
In the SolPartMenu.ascx is see:

[code]
If MenuBarCssClass <> "" Then
    Me.CSSControl = MenuBarCssClass
Else
    Me.CSSControl = "MainMenu_MenuBar"
End If
If MenuContainerCssClass <> "" Then
    Me.CSSContainerRoot = MenuContainerCssClass
Else
    Me.CSSContainerRoot = "MainMenu_MenuContainer"
End If
[/code]

So I'm guessing if the bools eval to true, it pulls the Menu skin options from CSS content.
I go into my skin.css file and see:
/* Main Menu */
.MainMenu_MenuContainer{ width:98%; background:transparent; }
.MainMenu_MenuBar{  }

If I add "height:20px;" nothing happens. What is controlling the MenuBar?!? I'm pretty lost.
Customizing DNN is quite overwhelming if someone would like to fully customize it. Though I'm sure because I'm extremely new to it, it seems this way.
----------------------------------------------------

I'm also having a problem with firefox rendering the MouseOver on the MenuBarItems. I keep getting this aweful Highlight color. See image below:


I look in the SolPartMenu.ascx.vb file and see:
If Len(Me.MouseOverDisplay) = 0 Then Me.MouseOverDisplay = "Highlight"

If I change it to:
If Len(Me.MouseOverDisplay) = 0 Then Me.MouseOverDisplay = Nothing
...
Then the highlighting goes away fine, but when my mouse goes over it, the subMenu opens for a split second and goes away. It's quite random acting and doesn't work properly.

Any suggestions, clues what I can do?

Thanks everyone!
-Danny
 
New Post
3/23/2007 6:55 PM
 

Hi Danny,

You can style the SolPart Menu (by making adjustments to the skin.ascx and skin.css files) without resorting to changes in the menu code-behind (.vb) file.  The .MainMenu_MenuContainer CSS class determines the look of the root menu container on the page. You can make the menu appear taller by adding something like height:30px; to that class.  The MainMenu_MenuBar class could be considered more like the "hit area" where the cursor changes and the menu will accept a hit.

As for the mouse-over effect, I'd need to see the rest of your skin's menu CSS code to help with that, but it's there.

 
New Post
3/23/2007 7:12 PM
 
I got the height all figured out ... and I'm getting adept to the SolPartMenu customization, however my problem still lies with the:
Me.MouseOverDisplay .... I dont want it Highlighting! lol ...

Any clues???
 
New Post
3/23/2007 7:20 PM
 
Ok ... waste of a post ...
Set   Me.MouseOverDisplay = "Outset"   (the skinning pdf manuel says you can also set it to "None" however that did not work for me.
Also to delay the menu from disappearing:
If Len(Me.MouseOutHideDelay) = 0 Then Me.MouseOutHideDelay = "1000"  (Default is 500)

hope this helps anyone.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...MainMenu_MenuContainer Height ControlMainMenu_MenuContainer Height Control


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