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, ...DNNMenuNavigationProvider ControlAlignment PropertyDNNMenuNavigationProvider ControlAlignment Property
Previous
 
Next
New Post
6/24/2009 2:43 AM
 

It appears to be commented out in the code:

Public Overrides Property IndicateChildImageRoot() As String
            Get
                Return Menu.RootArrowImage
            End Get
            Set(ByVal Value As String)
                Menu.RootArrowImage = Value
            End Set
        End Property

        'Public Overrides Property ControlAlignment() As Modules.NavigationProvider.NavigationProvider.Alignment
        ' Get
        ' 'Select Case Menu.MenuAlignment.ToLower
        ' ' Case "left"
        ' ' Return Modules.NavigationProvider.NavigationProvider.Alignment.Left
        ' ' Case "right"
        ' ' Return Modules.NavigationProvider.NavigationProvider.Alignment.Right
        ' ' Case "center"
        ' ' Return Modules.NavigationProvider.NavigationProvider.Alignment.Center
        ' ' Case "justify"
        ' ' Return Modules.NavigationProvider.NavigationProvider.Alignment.Justify
        ' 'End Select
        ' End Get
        ' Set(ByVal Value As Modules.NavigationProvider.NavigationProvider.Alignment)
        ' 'Select Case Value
        ' ' Case Modules.NavigationProvider.NavigationProvider.Alignment.Left
        ' ' Menu.MenuAlignment = "Left"
        ' ' Case Modules.NavigationProvider.NavigationProvider.Alignment.Right
        ' ' Menu.MenuAlignment = "Right"
        ' ' Case Modules.NavigationProvider.NavigationProvider.Alignment.Center
        ' ' Menu.MenuAlignment = "Center"
        ' ' Case Modules.NavigationProvider.NavigationProvider.Alignment.Justify
        ' ' Menu.MenuAlignment = "Justify"
        ' 'End Select
        ' End Set
        'End Property

        Public Overrides Property ControlID() As String
            Get
                Return m_strControlID
            End Get
            Set(ByVal Value As String)
                m_strControlID = Value
            End Set
        End Property
 

 
New Post
6/24/2009 5:49 PM
 

Don't bother using ControlAlignment in DNNNav, it is non-functional and is noted in some of the skinning documentation that is really outdated that it is not part of DNN Nav.  Personally, I wish it were not one of the things they stripped out of Solpart to make DNN Nav, but perhaps it had something to do why Solpart is not W3C compliant and DNN Nav is...

Attempting a text-align:right on any of the menu containers doesn't do anything either.  But, I've seen DNN Nav right aligned, so it can be done with css... just not exactly sure how they did it.  You might try a float:right on one of the container classes.  If you can set a fixed width for the menu, whether pixel or percent,  it would be easier to work with right aligning the menu container.  You could also try the root menu item css with a float:right clear:none, but that might place the root items in a reverse order.  Just a few thoughts on things to tinker with in the css.  Would love to know if anyone gets this to work properly, too...


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
6/25/2009 4:02 AM
 

The current default skin uses float:left on .main_dnnmenu_rootitem

I didn't test it but float:right should work..

 

 
New Post
9/1/2009 10:32 AM
 

.mainMenu .root
{   
    color: #375162;
    font-size: 13px;
    font-weight:bold;    
    text-align:center;
    padding:12px 12px 12px 12px;
    text-transform:uppercase; margin-right:1px;
    white-space:nowrap;
    margin-right:1px;   
    float:left;
}

 

Just remove the last line in ".mainMenu .root" class in menu.css file.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNNMenuNavigationProvider ControlAlignment PropertyDNNMenuNavigationProvider ControlAlignment Property


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