Tagged: x
-
AuthorPosts
-
December 10, 2016 at 10:44 am #1288385
benjaminthornParticipantHi, 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
December 10, 2016 at 3:02 pm #1288499
Rue NelModeratorHello 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.
December 10, 2016 at 3:06 pm #1288500
nikiniki9doorsParticipantDitto. 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?
December 10, 2016 at 11:55 pm #1288765
RadModeratorHi 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.
December 11, 2016 at 9:41 am #1288992
nikiniki9doorsParticipantHi 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
December 11, 2016 at 10:00 am #1289017
ChristianModeratorIn that case, please add the code to your child theme’s
views/integrity/wp-header.phpand yes, changeiconstrings tointegrity.Thanks.
December 11, 2016 at 12:59 pm #1289128
nikiniki9doorsParticipantHi 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?
December 11, 2016 at 4:56 pm #1289267
Rue NelModeratorHello 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.
December 12, 2016 at 9:35 am #1290078
nikiniki9doorsParticipantHey Rue,
Thank you it did work 🙂
Appreciate it!
December 12, 2016 at 9:40 am #1290086
JoaoModeratorYou are welcome,
Joao
December 12, 2016 at 4:46 pm #1290540
nikiniki9doorsParticipantHey Joao,
Actually — went to a post page http://www.curatedlisbon.com/hello-world/ and it doesnt look blank like it should. Any suggestions?
December 13, 2016 at 12:24 am #1290868
ChristopherModeratorHi 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.
December 13, 2016 at 1:39 pm #1291717
nikiniki9doorsParticipantThank you!
December 13, 2016 at 3:33 pm #1291852
JoaoModeratorYou are welcome,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1288385 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
