Tagged: x
-
AuthorPosts
-
April 14, 2016 at 2:04 am #881623
Stanley TanParticipantHi, how can we add a custom content in between the menu bar and the content?
More specifically in between <header class=”masthead masthead-inline” role=”banner”> and <div class=”x-container max width offset”>April 14, 2016 at 5:28 am #881932
ZeshanMemberHi Stanley,
Thanks for writing in!
It’s possible with custom development. While that is outside the scope of support, I could point you in the right direction with the understanding that it would ultimately be your responsibility to take it from here.
So, copy the file wp-content/themes/x/framework/views/renew/wp-header.php in your child theme‘s folder /framework/views/renew/, open the copied file in a text editor and add your HTML code at the end of the file. E.g., :
<?php // ============================================================================= // VIEWS/RENEW/WP-HEADER.PHP // ----------------------------------------------------------------------------- // Header output for Renew. // ============================================================================= ?> <?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', '_topbar' ); ?> <?php x_get_view( 'global', '_navbar' ); ?> </header> <?php x_get_view( 'global', '_slider-below' ); ?> <?php x_get_view( 'renew', '_landmark-header' ); ?> <div class="your-custom-content"> Lorem ipsum dolor sit amet. </div>Thank you!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-881623 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
