Tagged: x
-
AuthorPosts
-
July 10, 2016 at 12:07 pm #1080331
king88sleyParticipantHi, I would like to make only my Slider Settings above Masterhead full width and the rest of the the page to be boxed and not full-width. How do i accomplished that properly?
Thanks
Kingsley
July 10, 2016 at 12:50 pm #1080351
ThaiModeratorHi There,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
July 10, 2016 at 2:16 pm #1080429
king88sleyParticipantThis reply has been marked as private.July 10, 2016 at 10:34 pm #1080739
Rue NelModeratorHello Kingsley,
Thanks for providing the information. 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, we have to remove the slider from the box. We need to customize the template. To do that, 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/ETHOS/WP-HEADER.PHP // ----------------------------------------------------------------------------- // Header output for Ethos. // ============================================================================= ?> <?php x_get_view( 'global', '_header' ); ?> <header class="<?php x_masthead_class(); ?>" role="banner"> <?php x_get_view( 'ethos', '_post', 'carousel' ); ?> <?php x_get_view( 'global', '_topbar' ); ?> <?php x_get_view( 'global', '_navbar' ); ?> <?php x_get_view( 'ethos', '_breadcrumbs' ); ?> </header> <?php x_get_view( 'global', '_slider-below' ); ?> <?php x_get_view( 'ethos', '_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/ethos/In the code above, we have removed the slider. We will then add it back but this time outside of the boxed. Please insert this following code in your child theme’s functions.php file
// Add Slider Settings above masthead outside of the boxed layout // ============================================================================= function custom_slider_above_masthead($content){ x_get_view( 'global', '_slider-above' ); } add_action( 'x_before_site_begin', 'custom_slider_above_masthead' ); // =============================================================================After making sure that you are all set, you still have to select from the customizer that you will have a boxed layout globally. Please go to your customizer, Appearance > Customize > Custom > Layout & Design and set the Content layout as boxed.
Hope this helps. Please let me know how it goes.
July 11, 2016 at 3:36 pm #1082081
king88sleyParticipantHi Rue Nel,
I have tried as you asked me to do. But still no changes done on my apart from the site is boxed and the slider above menu is also boxed, and my logo is kind of pushing the menu down. Please see yourself.
Thanks
You are free to make changes.
July 12, 2016 at 12:15 am #1082632
FriechModeratorHi There,
Please provide us FTP credentials in private reply, so we can take a closer look.
Thanks.
July 12, 2016 at 5:28 am #1082858
king88sleyParticipantThis reply has been marked as private.July 12, 2016 at 8:10 am #1083047
king88sleyParticipantHi Friech,
I have manage to do some changes myself. Please take a look. Above and Below Slider Settings i have two sliders. 🙂Please assist on this.
Thanks
Greetings from Berlin
KingsleyJuly 12, 2016 at 11:03 am #1083299
JadeModeratorHi Kingsley,
Kindly double check the logins you have provided because they seem to be incorrect.
Thank you.
July 12, 2016 at 12:25 pm #1083466
king88sleyParticipantThis reply has been marked as private.July 13, 2016 at 1:19 am #1084339
Paul RModeratorHi Kingsley,
It looks like you have provided the wrong ftp login.
I tried to edit some files but it’s not reflecting in http://re-nergy.com/
Kindly check again and let us know.
Thanks
July 13, 2016 at 3:27 am #1084467
king88sleyParticipantThis reply has been marked as private.July 13, 2016 at 3:39 am #1084478
king88sleyParticipantThis reply has been marked as private.July 13, 2016 at 7:02 am #1084700
Paul RModeratorHi,
Sorry for the confusion.
Yes, the ftp login is correct and I was able to login too but it seems that is for another site?
I tried editing a file, for example the license.txt file but the changes are not reflecting here http://re-nergy.com/license.txt
Thanks
July 13, 2016 at 7:20 am #1084730
king88sleyParticipantThis reply has been marked as private. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1080331 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
