Remove Logo Header and Sub Menu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • michaeljulan
    Member
    • Oct 2018
    • 32
    • 5.3.x

    Remove Logo Header and Sub Menu

    Looking to remove the logo header and sub menu area as I am using the header from my main site. I can not seem to get the code correct to get them to go away without blowing up the page. I would also like to remove the footer as well. Any help would be appreciated
    Attached Files
  • In Omnibus
    Senior Member
    • Apr 2010
    • 2310

    #2
    Have you tried commenting out the full header and footer templates?

    Comment


    • Wayne Luke
      Wayne Luke commented
      Editing a comment
      This is a great way to destroy all functionality within vBulletin.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73981

    #3
    This isn't really supported. Removing the header and footer will limit your site's functionality. I can't guarantee that the following won't break the site.

    In the header template, delete everything after:
    Code:
    <div id="wrapper">
    This will remove Site Builder, the user menu, logo, navigation bar, search box, breadcrumbs, and notifications from the header.

    In the footer template, remove everything above:
    Code:
    <div id="footer-copyright">
    This will remove style and language selection as well as the footer menu.

    You can access templates in the AdminCP under Styles -> Style Manager. Click the <<>> button for the style that you're using.

    If you need more surgical removal, your web developer will have to go through the code to remove what you don't want to see and leave what you want.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • glennrocksvb
      Former vBulletin Developer
      • Mar 2011
      • 4011
      • 5.7.X

      #4
      How about just hiding them via CSS? Not the best solution but no maintenance required. If you edit the templates, chances are there will be merge conflicts whenever you upgrade.

      Code:
      .b-top-background__header-mainnav-subnav,
      #footer,
      #footer-copyright {
          display: none;
      }
      I assume you purchased branding-free option to be able to remove the vBulletin copyright.

      Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

      Comment

      Related Topics

      Collapse

      Working...