remove whole header for visitors remove whole header for visitors
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

remove whole header for visitors

Started by roithi, November 30, 2006, 06:14:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

roithi

Hi!

I have a problem

I want to remove the whole header, (Buttons and Banner). how can i do this?

need help

Gizmo

Depends on the theme. How will you navigate without menu items? How about a link or at the very least tell us what theme you're using.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

roithi

Sorry for the less informations I gave you

The thing is...

I have a photosite  http://alltagraus.at/main.php?show=photo&album=3

in my  main.php i forward to the  thumbnail.php with album id=3

but as you can see it looks terrible with the navigation bar up there....thats why i want to remove it...


Gizmo

That's a modded Mac_OX_X theme. To remove the header, title and description delete these lines from the template.html file
<div class="top_panel">
  <div class="top_panel_r">
    <div id="GAL_NAME">
      <h1>{GAL_NAME}</h1>
      <h3>{GAL_DESCRIPTION}</h3>
    </div>
  </div>
</div>


If you want to also remove the menu buttons, remove these lines as well
<div id="MENUS">
  <div id="SUB_MENU">
    {SUB_MENU}
  </div>
  <div id="SYS_MENU">
    {SYS_MENU}
  </div>
</div>


The {SYS_MENU} tag generates the admin menu when you log in so you should place it somewhere so that you can access them when logged in. You should also make sure that you keep the unmodded classic theme in your theme directory in case you over edit and can't access your gallery after you mangle your theme.  ;)
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision