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 top of the page

View previous topic View next topic Go down

Solved Navbar on top of the page

Post by sajber on January 3rd 2014, 12:28 am

Hi,

how can i move navbar on top of the page?
And, can i remove space (look at picture)

avatar
sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Navbar on top of the page

Post by Ikerepc on January 3rd 2014, 8:01 am

hello.

What forum version you using?

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 153
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Solved Re: Navbar on top of the page

Post by sajber on January 3rd 2014, 11:03 am

PhpBB2
avatar
sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Navbar on top of the page

Post by sajber on January 10th 2014, 2:03 pm

Bump
avatar
sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Navbar on top of the page

Post by Ange Tuteur on January 10th 2014, 8:41 pm

Hello sajber ,

Administration Panel > Display > Templates > General > overall_header

Find and remove :
Code:
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
 <tr>
 <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
 </tr>
 </table>

Find :
Code:
<table width="100%" cellspacing="0" cellpadding="0" border="0">
 <tr>
 <!-- BEGIN switch_logo_left -->
 <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
 <!-- END switch_logo_left -->
 <td align="center" width="100%" valign="middle">
 <!-- BEGIN switch_logo_center -->
 <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
 <br />
 <!-- END switch_logo_center -->
 <div class="maintitle">{MAIN_SITENAME}</div>
 <br />
 <span class="gen">{SITE_DESCRIPTION}<br /> </span>
 </td>
 <!-- BEGIN switch_logo_right -->
 <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
 <!-- END switch_logo_right -->
 </tr>
 </table>

Replace by :
Code:
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
 <tr>
 <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
 </tr>
 </table>
 <table width="100%" cellspacing="0" cellpadding="0" border="0">
 <tr>
 <!-- BEGIN switch_logo_left -->
 <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
 <!-- END switch_logo_left -->
 <td align="center" width="100%" valign="middle">
 <!-- BEGIN switch_logo_center -->
 <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
 <br />
 <!-- END switch_logo_center -->
 <div class="maintitle">{MAIN_SITENAME}</div>
 <br />
 <span class="gen">{SITE_DESCRIPTION}<br /> </span>
 </td>
 <!-- BEGIN switch_logo_right -->
 <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
 <!-- END switch_logo_right -->
 </tr>
 </table>

Then save and publish the template.
avatar
Ange Tuteur
Forumaster

Male Posts : 13174
Reputation : 2871
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Navbar on top of the page

Post by sajber on January 11th 2014, 1:08 am

Tnx



Solved
avatar
sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Navbar on top of the page

Post by SLGray on January 11th 2014, 1:32 am

Topic Solved & Locked


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

avatar
SLGray
Administrator
Administrator

Male Posts : 39198
Reputation : 2628
Language : English
Location : United States

https://fmthemes.forumotion.com/

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