Tagged: x
-
AuthorPosts
-
March 25, 2016 at 6:57 pm #852998
Is it possible to put a colored boarder only on the sides (NOT all the way around.
The intent here is to narrow the width of the slider so it isn’t the full width of the page.
March 25, 2016 at 9:56 pm #853094Hello 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.
Thanks.
March 25, 2016 at 10:47 pm #853129No need, I figured it out. TANKS!
March 25, 2016 at 10:52 pm #853132I did have another question though that I can’t figure out. I’m using a “stacked” masthead. Logo on top, below that, the Navlinks.
What I want to do is have the logo on top, then the slider, and then the navlinks.
Site: http://beta.sjhp.org
This Integrity 7, but I’m sure you could guess that 🙂
March 26, 2016 at 1:12 am #853203Hi There,
You need to create two files on your child theme. To do this navigate to \wp-content\themes\x-child\framework\views\global\ directory and create a file named _navbar.php then paste the code below on it.
<?php // ============================================================================= // VIEWS/GLOBAL/_NAVBAR.PHP // ----------------------------------------------------------------------------- // Outputs the navbar. // ============================================================================= $navbar_position = x_get_navbar_positioning(); $logo_nav_layout = x_get_logo_navigation_layout(); $is_one_page_nav = x_is_one_page_navigation(); ?> <?php if ( ( $navbar_position == 'static-top' || $navbar_position == 'fixed-top' || $is_one_page_nav ) && $logo_nav_layout == 'stacked' ) : ?> <div class="x-logobar"> <div class="x-logobar-inner"> <div class="x-container max width"> <?php x_get_view( 'global', '_brand' ); ?> </div> </div> </div> <?php x_get_view( 'global', '_slider-below' ); ?> <!-- slider below masthead --> <div class="x-navbar-wrap"> <div class="<?php x_navbar_class(); ?>"> <div class="x-navbar-inner"> <div class="x-container max width"> <?php x_get_view( 'global', '_nav', 'primary' ); ?> </div> </div> </div> </div> <?php else : ?> <div class="x-navbar-wrap"> <div class="<?php x_navbar_class(); ?>"> <div class="x-navbar-inner"> <div class="x-container max width"> <?php x_get_view( 'global', '_brand' ); ?> <?php x_get_view( 'global', '_nav', 'primary' ); ?> </div> </div> </div> </div> <?php endif; ?>
Create the second file under \wp-content\themes\x-child\framework\views\integrity\ directory and named it as wp-header.php and paste the code below on it.
<?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', '_topbar' ); ?> <?php x_get_view( 'global', '_navbar' ); ?> <?php x_get_view( 'integrity', '_breadcrumbs' ); ?> </header> <?php /*x_get_view( 'global', '_slider-below' );*/ ?> <?php x_get_view( 'integrity', '_landmark-header' ); ?>
Hope it helps, Cheers!
March 26, 2016 at 1:35 am #853214Thanks!!!!!
March 26, 2016 at 2:44 am #853256You’re more than welcome, glad we could help.
Cheers!
-
AuthorPosts