Tagged: x
-
AuthorPosts
-
September 12, 2016 at 3:48 am #1171024
palasmicParticipantHi,
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
PhilippSeptember 12, 2016 at 3:58 am #1171033
Paul RModeratorHi 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.
September 13, 2016 at 12:59 am #1172557
palasmicParticipantThanks 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!
September 13, 2016 at 3:37 am #1172690
ChristopherModeratorHi there,
Provided code has already removed social icons.
You can add content under Customize -> Header.Thanks.
September 13, 2016 at 10:19 am #1173192
palasmicParticipantSorry – I have not seen a difference because after the changes the height was the same.
Everything is fine now!Thanks so much 🙂
September 13, 2016 at 10:48 am #1173263
RahulModeratorGlad 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.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1171024 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
