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 02: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 12:58 PM
    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 02: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 09: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-25 12:37 AM

    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 02: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

    RE: How to build Skins for DNN 6.x by Joseph Craig
    I'd recommend that you try replacing the hard-coded text with the DotNetNuke Text skin object. That
    RE: Module permission does not work! by Joseph Craig
    What permissions have you give to that role?
    RE: DNN nav issue by Joseph Craig
    Are you using a custom skin? How often does this happen?
    RE: Friendly URLs Broken by Joseph Craig
    I don't entirely understand this, but I'm glad you got things working.
    RE: How to build Skins for DNN 6.x by Christopher Adamakis
    Dear all, I have one more question regarding greek fonts. If you check my site http://www.expertsoft
    RE: Dnn local setup problem by imran shaikh
    this is error is resolve now now getting this one Server Error in '/cooperpharma.ma' Applicat
    RE: Module permission does not work! by Abraham Tameru
    I created a special role for the user to administer the site. The user is not a member of the Admini
    Dnn local setup problem by imran shaikh
    Hi All i have just installed the new site files on my local computer set the connection strin
    RE: Firefox has detected that the server is redirecting the request for this address in a way that will never complete. by imran shaikh
    Hi i have the same issue Firefox has detected that the server is redirecting the request for thi
    DNN nav issue by imran shaikh
    Hi All This is imran i am using DNN 6.0 in which issue is that while i am refreshing the site nav
    RE: Problem After Attaching/Detaching Database.mdf by Prakasam Srinivasan
    thanks joe! But I have connect with database.mdf file in App_Data. I detach the database from
    RE: Ventrian News Article by Collin Stefani
    Posted By Joseph Craig on 2012-01-18 10:51 AM I'm not sure that you can with the built-in UI.
    RE: Friendly URLs Broken by Vistalogix Corporation
    Well, we figured out that the problem is related to .Net framework 3.5. Friendly URLs works fine und
    RE: Problem After Attaching/Detaching Database.mdf by Joseph Craig
    That behavior of running the installation wizard indicates a problem connecting to the database.
    RE: Friendly URLs Broken by Vistalogix Corporation
    Nope, just a straight-up DNN install and configured in Host -> Friendly URLs as described in my orig
    Problem After Attaching/Detaching Database.mdf by Prakasam Srinivasan
    I successfully installed DNN 6 on my local machine using IIS 7.5. Its working good. When I attach to
    RE: Module Security permissions by Bhushan Gholap
    Thanks for the reply!!! I would definitely contact sales engineer team of DNN.
    RE: There's a tutorial for this somewhere by Eric W
    The error I got was the Connection Error(s): Index #: 0 Source: .Net SqlClient Data Provider
    RE: DNN 6 Modules Not Showing by Joseph Craig
    Where can I see this? If you'd like to send me some login credentials so that I can look, use the c
    RE: DNN 6 Modules Not Showing by Mike DeBaise
    No, modules are set to all viewers/users. Just cant figure this out, it really doesnt make any sense
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds