The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Navbar on the top of the header

View previous topic View next topic Go down

Solved Navbar on the top of the header

Post by dreamer* on 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

dreamer*
New Member

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

Back to top Go down

Solved Re: Navbar on the top of the header

Post by J0k3R^ on 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

J0k3R^
Forumember

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

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: Navbar on the top of the header

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

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

dreamer*
New Member

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

Back to top Go down

Solved Re: Navbar on the top of the header

Post by J0k3R^ on 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

J0k3R^
Forumember

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

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: Navbar on the top of the header

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

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

dreamer*
New Member

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

Back to top Go down

Solved Re: Navbar on the top of the header

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

Solved

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum