You need to Register for free and Login to post a message in the forum.

Forum

NAV menu: submenu mis-aligned
Last Post 2008-09-26 01:26 PM by Lee Sykes. 4 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
IcyKUser is Offline
Nuke Newbie
Nuke Newbie
Posts:5

--
2008-09-14 11:58 AM
    Dear all,

    I'm quite a DNN novice and struggling with the NAV menu in a skin I'm trying to build (I want that skin CSS-based as much as possible).
    I used the standard Blue skin (horizontal menu, fixed width) that came with DNN 04.08.04 and adapted it to my needs.

    I'm using a header composed of several images; some of which are positioned using "position: relative;". The NAV menu is positioned in the 'bottom' of the header.

    The NAV menu itself is not the problem, but the submenu's (Admin, Host etc.) are. They are seriously mis-aligned ... I think because of using "position: relative;" in the header part before the NAV menu.

    But ... I can't figure out where de NAV submenu's are build and what properties are used ...

    So if anyone has experienced something like this ans has a solition, or knows where the NSV submenu's get their properties and would like to share ... I't appreciate it BIG time!

    Thanks in advance,

    IcyK

    NB: the site currently exists only on my Visual Web Developer 'server', so unfortunately I can't provide a link ...


    [edit]
    It seems that the submenu inherits the offset from the main menu.
    Say I have the NAV menu positioned 100 px from the top and 50 px from the left, then the Admin submenu gets positioned 100 px below and 50 px to the right of the Admin link ...
    [/edit]


    IcyKUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:5

    --
    2008-09-24 01:13 AM
    Am I really the only one experiencing this challenge .... ;-)


    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2008-09-24 08:20 AM
    Hello,

    apologies for the delayed response, I could do with viewing the actual skin to make a comment, you can attach zip files to forum posts if you wish. However, if you wish to create a pure CSS skin I would recommend you use the housemenu or snapsis CSS Menu.

    Both of these menus will create an unordered list for the menu which the search engines will find easy to index and will ensure that your page sizes are small. For the details you have here, I would recommend you check out the Snapsis menu - a discount is available to subscribers


    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    IcyKUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:5

    --
    2008-09-24 11:37 PM

    Well, of all the people on this forum you should be one of the very last to apologize I think ... considering the time and effort you put in helping others.

    I have attached a skin.zip that shows the problem. I stripped it down a bit to reduce the file size.
    I'm sorry I can't point you to an actual 'live' site yet ...

    The problem shows in the admin and the host submenu. I guess it'll show in other submenu's too, once they are in use.

    If you (or someone else) could find the time to take a look, I'd appreciate it very much ...

    Thanks in advance,

    IcyK



    1924374941971.zip

    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2008-09-26 01:26 PM
    Hello,

    Ok, going through the code I have found the problem:

    .VillaHeaderNavmenuContainer {
       clear: both;
        top: -13px;
        left: 79px;     
        margin: 0 auto;      
        background-color: aabbcc;   

    }

    removing position: relative; fixes the problem


    I would also recommend you set a background colour for this class:
    .VillaHeaderNavmenuBackground

    - so if a user is viewing with images disabled then the text in the menu is still readable

    Also, I've noticed you have used a script in your skin to specify the doc type, are you aware that you can add a doc type file with your skin to set the doc type? checkout this tutorial:
    How to select DOC TYPES in DotNetNuke 4.4

    I troubleshooted this skin by using the methods outlined in this tutorial:
    Troubleshooting DotNetNuke Skins

    Thanks,


    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    PCI Compliance with PayPal integration by Aggiedan97
    Recently it was brought to my attention that sites (companies of sites) that handle the selling of g
    RE: Active Forums vs. DNN 6.2 CE by Joseph Craig
    I haven't really previewed it, but my understanding is that pretty much everything except the "Mail
    RE: horizontal main and submenu items by Joseph Craig
    If you could show a page as an example, that would help. Basically, you can put multiple menus on
    Active Forums vs. DNN 6.2 CE by Aggiedan97
    Active Forums will no longer be offered with the debut of DNN 6.2 which is promising to integrate Ac
    Google Analytics Module by Aggiedan97
    I'm in need of providing a GA module that displays GA charts, graphs, and reports internal to DNN si
    RE: horizontal main and submenu items by Dan Glanton
    I'm not sure. One of the tutorials show using 2 horizontal menus with one being the submenu. This do
    RE: Different search icon for each portal by Joseph Craig
    Are you using the same skin in each portal? If so, and assuming that you are using the SiteIconURL
    Different search icon for each portal by Bill Swanson
    How do I use a different search icon for each portal in dnn 6.1.4?
    RE: horizontal main and submenu items by Joseph Craig
    Do your requirements fit with any of the available templates?
    RE: horizontal main and submenu items by Dan Glanton
    I went ahead and upgraded to the DDR to make sure I have the best updated menu possible. What I woul
    RE: DNN 6.2 by Joseph Craig
    The release notes that came with the beta version of the software should indicate if the version can
    RE: horizontal main and submenu items by Joseph Craig
    Part of the answer will depend on the menu that you are using in your skin. I strongly recommend th
    DNN 6.2 by Sameer
    Hi All i am using dnn 6.2 beta version for my demo site i need to custmize the 4 modules in that
    RE: Deploying dnn by Sameer
    Thanks a lot so kind of you
    RE: Unable to Create Skin Package by schilders
    Joe, When I click the Edit icon next to the skin package on the Host Extensions page, I receive t
    horizontal main and submenu items by Dan Glanton
    I found a very good tutorial on horizontal main and subitems in DNN Creative, but what about if you
    RE: Skin creation - Menu questoni by Joseph Craig
    This has to do with the structure of the elements that make up the skin and the CSS. Most likely, y
    Skin creation - Menu questoni by CDMeyer
    I have a skin and when I add more menu items to the nav bar than can fit in one row of nav, the seco
    RE: FCK Editor in DNN 6 by Pingle2009
    Just to follow on from Joe's reply, the 'official' line seems to be that not only that the old FCK E
    RE: Slice a Site by Dan Glanton
    Thanks, I'll look into that when I get a chance.
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds