Tagged: x
-
AuthorPosts
-
April 8, 2016 at 11:21 am #873032
Hello for the Xtheme I see an option to put the Social media buttons on a bar next to the menu and logo bar. I can change this bar and put it below the header image or above the header image. My question is can the social media top bar go on top while the menu bar goes on the bottom of the header? I have attached an Image, in the image the yellow social media bar is next to the purple menu bellow the header, can I put this yellow bar Above the Header without the purple menu coming with me? Does that make sense?
April 9, 2016 at 12:47 am #873777Hi there,
Please let us know which stack you’re using so we can provide you with tailored solution.
Thanks.
April 9, 2016 at 9:29 pm #874700Renew
April 10, 2016 at 7:39 am #875119Hi there,
Because this requires a template change, I’d advise that you setup 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.
Copy wp-header.php from framework/views/renew and put it in the same path inside child theme, replace existing code with following :
<?php // ============================================================================= // VIEWS/RENEW/WP-HEADER.PHP // ----------------------------------------------------------------------------- // Header output for Renew. // ============================================================================= ?> <?php x_get_view( 'global', '_header' ); ?> <?php x_get_view( 'global', '_topbar' ); ?> <?php x_get_view( 'global', '_slider-above' ); ?> <header class="<?php x_masthead_class(); ?>" role="banner"> <?php x_get_view( 'global', '_navbar' ); ?> </header> <?php x_get_view( 'global', '_slider-below' ); ?> <?php x_get_view( 'renew', '_landmark-header' ); ?>
Hope it helps.
-
AuthorPosts