The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
4 posters

    Sub menu options

    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved Sub menu options

    Post by IdaTR Tue 28 Mar 2017 - 19:02

    Technical Details


    Forum version : #PunBB
    Position : Administrator
    Concerned browser(s) : Mozilla Firefox, Google Chrome
    Who the problem concerns : All members
    Forum link : www.vielamort.net

    Description of problem

    In my theme its possible to have a drop down menu, however I want a sub menu to one of the options in the menu.

    The option should be when you hover over "Racer" there will appear a list just besides it.

    I've tried to make one, but it doens't seem to appear.. :s


    Last edited by IdaTR on Wed 29 Mar 2017 - 22:51; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Sub menu options

    Post by SLGray Tue 28 Mar 2017 - 19:07

    Where is this menu?



    Sub menu options Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    Solved Re: Sub menu options

    Post by Draxion Tue 28 Mar 2017 - 20:04

    It's located on the Navbar button 'Members'.
    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved Re: Sub menu options

    Post by IdaTR Wed 29 Mar 2017 - 9:49

    Located under "Members"
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Sub menu options

    Post by SLGray Wed 29 Mar 2017 - 9:56

    Each menu will need to have a different ID.



    Sub menu options Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved Re: Sub menu options

    Post by IdaTR Wed 29 Mar 2017 - 10:32

    how should i do that?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Sub menu options

    Post by SLGray Wed 29 Mar 2017 - 19:52

    Please post the code you created.  Please use the code tags when posting coding.



    Sub menu options Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved Re: Sub menu options

    Post by IdaTR Wed 29 Mar 2017 - 20:29

    Code:
    <div id="navbar">
                <div class="wrapper">
                  <ul id="topnav">
                    <li id="button_home"><a class="active firstlevel" href="/forum"><span class="last firstlevel">Home</span></a></li>
                    <li id="button_demo"><a class="firstlevel" href="/#"><span class="firstlevel">Members</span></a>
                      <ul>
                        <li><a href="/memberlist"><span>Bruger liste</span></a></li>
                        <li><a href="#" class="secondlevel"><span class="secondlevel">Racer ►</span></a>
                          <ul>
                            <li><a href="/g21-alba"><span>Alba</span></a></li>
                            <li><a href="/g6-aspara"><span>Aspara</span></a></li>
                            <li><a href="/g14-blandede-racer"><span>Blandede racer</span></a></li>
                            <li><a href="/g19-djaevle"><span>Djævle</span></a></li>
                            <li><a href="/g4-dvaerge"><span>Dværge</span></a></li>
                            <li><a href="/g13-daemoner"><span>Dæmoner</span></a></li>
                            <li><a href="/g10-elver"><span>Elver</span></a></li>
                            <li><a href="/g9-engle"><span>Engle</span></a></li>
                            <li><a href="/g12-mennesker"><span>Mennesker</span></a></li>
                            <li><a href="/g11-navajo"><span>Navajo</span></a></li>
                            <li><a href="/g8-spgelser"><span>Spøgelser</span></a></li>
                            <li><a href="/g3-vampyrer"><span>Vampyrer</span></a></li>
                          </ul>
                          <li><a href="/search?search_id=newposts"><span>Nyeste indlæg</span></a>
                        </li>
                      </ul>
                    </li>
                    <li id="button_help"><a class="firstlevel" href="/faq"><span class="firstlevel">Help</span></a></li>
                    <li id="button_search"><a class="firstlevel" href="/search"><span class="firstlevel">Search</span></a></li>
                    <li id="button_calendar"><a class="firstlevel" href="/calendar"><span class="firstlevel">Calendar</span></a></li>
    Kyo Panda
    Kyo Panda
    Forumember


    Male Posts : 33
    Reputation : 19
    Language : Portuguese, English
    Location : Brazil

    Solved Re: Sub menu options

    Post by Kyo Panda Wed 29 Mar 2017 - 22:40

    Try adding to the bottom of your CSS:

    Code:
    #topnav li:hover ul li:hover ul {
        left: auto;
        right: -100%;
        top: 0;
    }
    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved Re: Sub menu options

    Post by IdaTR Wed 29 Mar 2017 - 22:51

    Solved !!! Cool Works perfectly!
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Sub menu options

    Post by SLGray Thu 30 Mar 2017 - 3:18

    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules



    Sub menu options Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is Thu 14 Nov 2024 - 12:47