Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1288385
    benjaminthorn
    Participant

    Hi, how can i remove everything from header ? I Only want ubermenu and then content.

    Only on blog on single post views i want also the logo to be show but under the menu.

    Integrity/stacked

    #1288499
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! What you are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Once you have your child theme active and ready, please follow the following steps below:
    1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
    2] Insert the following code into that new file

    <?php
    
    // =============================================================================
    // VIEWS/INTEGRITY/WP-HEADER.PHP
    // -----------------------------------------------------------------------------
    // Header output for Integrity.
    // =============================================================================
    
    ?>
    
    <?php x_get_view( 'global', '_header' ); ?>
    
      <?php x_get_view( 'global', '_slider-above' ); ?>
    
      <header class="<?php x_masthead_class(); ?>" role="banner">
        <?php x_get_view( 'global', '_navbar' ); ?>
    
        <?php if (is_home() || is_ingle() ) : ?>
          <?php x_get_view( 'global', '_topbar' ); ?>
        <?php endif; ?>
    
      </header>
    
      <?php x_get_view( 'global', '_slider-below' ); ?>
      <?php x_get_view( 'integrity', '_landmark-header' ); ?>

    3] Save the file named as wp-header.php
    4] Upload this file to your server in the child theme’s folder
    wp-content/themes/x-child/framework/views/integrity/

    We would loved to know if this has work for you. Thank you.

    #1288500
    nikiniki9doors
    Participant

    Ditto. Im using ICON though. I want all the post/portfolio pages etc to be completely blank between the uber menu and footer. That way I can create a template using visual composer. Is this possible?

    #1288765
    Rad
    Moderator

    Hi there,

    In that case, please add this code to child theme’s views/icon/wp-header.php

    <?php
    
    // =============================================================================
    // VIEWS/ICON/WP-HEADER.PHP
    // -----------------------------------------------------------------------------
    // Header output for Icon.
    // =============================================================================
    
    ?>
    
    <?php x_get_view( 'global', '_header' ); ?>
    
      <?php if ( !( is_singular('post') || is_singular('x-portfolio') ) ) x_get_view( 'global', '_slider-above' ); ?>
    
      <header class="<?php x_masthead_class(); ?>" role="banner">
        <?php if ( !( is_singular('post') || is_singular('x-portfolio') ) ) x_get_view( 'global', '_topbar' ); ?>
        <?php x_get_view( 'global', '_navbar' ); ?>
        <?php if ( !( is_singular('post') || is_singular('x-portfolio') ) ) x_get_view( 'icon', '_breadcrumbs' ); ?>
      </header>
    
      <?php if ( !( is_singular('post') || is_singular('x-portfolio') ) ) x_get_view( 'global', '_slider-below' ); ?>

    Hope this helps.

    #1288992
    nikiniki9doors
    Participant

    Hi Rad,

    I actually changed the stack to integrity now – do I just change the above code to integrity where icon is?

    Also Id like to get rid of the logo picture or text from the menu.

    Thanks

    #1289017
    Christian
    Moderator

    In that case, please add the code to your child theme’s views/integrity/wp-header.php and yes, change icon strings to integrity.

    Thanks.

    #1289128
    nikiniki9doors
    Participant

    Hi Rad

    I did as you said and it didnt work. See http://www.curatedlisbon.com/?x-portfolio=altis-belem-hotel-spa

    There is still the title there with all the mess of date, share, the outline. I need that whole area menu and above footer on portfolio, posts, pages to be completely stripped so that I can use only Visual Composer full width to create the pages.

    Is that possible?

    #1289267
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! To remove the title and make the single portfolio page as fullwidth. please add the following css code in the customizer, Appearance > Customize > Custom > CSS

    .single-x-portfolio .entry-header,
    .single-x-portfolio .x-portfolio .entry-extra {
        display: none;
    }
    
    .single-x-portfolio .site > .x-container.max.width.offset,
    .single-x-portfolio .x-portfolio .entry-info {
        width: 100%;
        max-width: 100%;
        float: none;
    }
    
    .single-x-portfolio .entry-wrap {
        border: none;
        box-shadow: none;
    }

    Hope this helps. Kindly let us know.

    #1290078
    nikiniki9doors
    Participant

    Hey Rue,

    Thank you it did work 🙂

    Appreciate it!

    #1290086
    Joao
    Moderator

    You are welcome,

    Joao

    #1290540
    nikiniki9doors
    Participant

    Hey Joao,

    Actually — went to a post page http://www.curatedlisbon.com/hello-world/ and it doesnt look blank like it should. Any suggestions?

    #1290868
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global CSS :

    .single-post div#comments,.single-post header.entry-header {
        display: none;
    }
    
    .single-post .entry-wrap {
        border: none;
        box-shadow: none;
    }

    Hope that helps.

    #1291717
    nikiniki9doors
    Participant

    Thank you!

    #1291852
    Joao
    Moderator

    You are welcome,

    Joao

  • <script> jQuery(function($){ $("#no-reply-1288385 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>