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
3 posters

    Navbar on the top of the header

    dreamer*
    dreamer*
    New Member


    Female Posts : 20
    Reputation : 1
    Language : lithuanian, english

    Solved Navbar on the top of the header

    Post by dreamer* April 16th 2014, 11:54 am

    I've been trying to find out how to put navbar on the top of the header, but it seems that it's just too hard for me, so I'm asking for help. My forum is http://beyondtheedgeofnight.forumotion.com/  Smile


    Last edited by dreamer* on April 16th 2014, 4:16 pm; edited 1 time in total
    J0k3R^
    J0k3R^
    Forumember


    Male Posts : 742
    Reputation : 28
    Language : Greek > English > Russian > Spanish
    Location : C:\>r00t

    Solved Re: Navbar on the top of the header

    Post by J0k3R^ April 16th 2014, 1:53 pm

    well, i have a nav bar on top but i dont remember how i made it. but give it a try to this:

    add to css:

    Code:
    #pun-head #pun-navlinks{
            background-color:#33678A;
            position:fixed;
            padding-top:5;
            z-index: 899;
            width:100%;
            height: 23px;
            border-bottom:double 4px #000;
            }
            body {
            margin-top:30px!important;
            }
            .pun {
            margin-top: 30px!important;
            }


    keep a backup of "overall_header" templates and then try this:
    find:
    Code:
    <!-- END switch_login_popup -->

    till 

    Code:
    <!-- BEGIN switch_ticker_new -->


    and make it like:

    Code:
    <!-- END switch_login_popup -->

       <a id="top" name="top" accesskey="t"></a>

       <div class="minwidth_IE">
          <div class="layout_IE">
             <div class="container_IE">
                <div class="pun">
                   <div id="pun-intro" class="clearfix">
                      <a href="{U_INDEX}" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>

                      <!-- BEGIN switch_h1 -->
                      <div id="pun-title">{switch_h1.MAIN_SITENAME}</div>
                      <!-- END switch_h1 -->

                      <!-- BEGIN switch_desc -->
                      <p id="pun-desc">{switch_desc.SITE_DESCRIPTION}</p>
                      <!-- END switch_desc -->
                   </div>
                   <div id="pun-head">
     Â       <div id="pun-navlinks" style="position:fixed; left:0%; top: 0px;">
                         <ul class="clearfix">
                            <li>{GENERATED_NAV_BAR}</li>
                         </ul>
                      </div>
                   </div>

                   <!-- BEGIN switch_ticker_new -->


    Last edited by J0k3R^ on April 16th 2014, 3:44 pm; edited 1 time in total
    dreamer*
    dreamer*
    New Member


    Female Posts : 20
    Reputation : 1
    Language : lithuanian, english

    Solved Re: Navbar on the top of the header

    Post by dreamer* April 16th 2014, 3:18 pm

    It's not working. I guess it's because your forum is PunBB and mine is phpBB2 :/
    J0k3R^
    J0k3R^
    Forumember


    Male Posts : 742
    Reputation : 28
    Language : Greek > English > Russian > Spanish
    Location : C:\>r00t

    Solved Re: Navbar on the top of the header

    Post by J0k3R^ April 16th 2014, 3:43 pm

    dreamer* wrote:It's not working. I guess it's because your forum is PunBB and mine is phpBB2 :/

    yeah thats true but i thought ur profile was saying 'punbb' ... whatever, just wait for a better answer then Smile
    dreamer*
    dreamer*
    New Member


    Female Posts : 20
    Reputation : 1
    Language : lithuanian, english

    Solved Re: Navbar on the top of the header

    Post by dreamer* April 16th 2014, 4:06 pm

    I forgott to change it. Sorry -.- And thank you for help. Anyway, problem is solved now  Smile 
    Jophy
    Jophy
    ForumGuru


    Male Posts : 17922
    Reputation : 836
    Language : English
    Location : Somewhere

    Solved Re: Navbar on the top of the header

    Post by Jophy April 24th 2014, 6:52 am

    Solved

      Current date/time is November 14th 2024, 1:04 pm