Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1171024
    palasmic
    Participant

    Hi,

    I know it is possible to hide this element (x-social-global) with CSS.
    But I just want it not to be loaded by the template.
    I installed a child-theme – which php-file should I copy and edit?
    http://uxart.de/lautenbach
    By now you can’t see the icons because their white.
    Hover them on the top right and you will see..

    Thanks for your help!

    Latest X-Theme and latest wordpress version.

    Regards
    Philipp

    #1171033
    Paul R
    Moderator

    Hi Philipp,

    You can create the file _topbar.php in wp-content/themes/x-child/framework/views/global

    Then copy the code below into that file.

    
    <?php
    
    // =============================================================================
    // VIEWS/GLOBAL/_TOPBAR.PHP
    // -----------------------------------------------------------------------------
    // Includes topbar output.
    // =============================================================================
    
    ?>
    
    <?php if ( x_get_option( 'x_topbar_display' ) == '1' ) : ?>
    
      <div class="x-topbar">
        <div class="x-topbar-inner x-container max width">
          <?php if ( x_get_option( 'x_topbar_content' ) != '' ) : ?>
          <p class="p-info"><?php echo x_get_option( 'x_topbar_content' ); ?></p>
          <?php endif; ?>
        </div>
      </div>
    
    <?php endif; ?>
    

    Hope that helps.

    #1172557
    palasmic
    Participant

    Thanks Paul 🙂

    It would had helped, if I didn’t need the top-bar anymore.
    But I need it to put some extra things on the top of the site.

    What I don’t need is this div-box in the x-topbar:

    <div class=”x-social-global”>

    Where can I remove it?

    Thanks!

    #1172690
    Christopher
    Moderator

    Hi there,

    Provided code has already removed social icons.
    You can add content under Customize -> Header.

    Thanks.

    #1173192
    palasmic
    Participant

    Sorry – I have not seen a difference because after the changes the height was the same.
    Everything is fine now!

    Thanks so much 🙂

    #1173263
    Rahul
    Moderator

    Glad to hear that!

    If you still have any issues with the theme, let us know. We’d be happy to assist you with everything.

    Thank You.

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