Tagged: x
-
AuthorPosts
-
November 28, 2016 at 4:59 pm #1273761
williamscreativegroupParticipantHi there,
I’d like to move the footer content (.x-colophon-content) below the widget area that contains locations in my footer. What sort of CSS should I use to achieve this?
My website’s URL is bwor.williamscreativegroup.com.
November 28, 2016 at 10:27 pm #1274129
Prasant RaiModeratorHello There,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
footer.x-colophon.top { position: relative !important; margin: 0 !important; padding: 0 !important; } footer.x-colophon.top p { padding-top: 0 !important; }Thanks.
November 29, 2016 at 11:10 am #1274860
williamscreativegroupParticipantThis was a big help – thanks!
But now things are out of order. It should go: menu, locations, footer content.
I can’t figure out how to flip the locations and menu.
November 29, 2016 at 11:18 am #1274875
RupokMemberHi there,
Would you add a screenshot and clarify what else you are trying to achieve?
Thanks!
November 29, 2016 at 11:29 am #1274892
williamscreativegroupParticipantOf course! The middle section (home, services, attorneys & the social icons) should be at the top where the information about locations currently is.
November 29, 2016 at 11:42 am #1274906
JadeModeratorHI 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.
Then login through FTP and copy the file wp-footer.php from /wp-content/themes/x/framework/views/integrity/wp-footer.php and place it in /wp-content/themes/x-child/framework/views/integrity/wp-footer.php. Edit the file and replace its content to:
<?php // ============================================================================= // VIEWS/INTEGRITY/WP-FOOTER.PHP // ----------------------------------------------------------------------------- // Footer output for Integrity. // ============================================================================= ?> <?php x_get_view( 'global', '_header', 'widget-areas' ); ?> <?php x_get_view( 'global', '_footer', 'scroll-top' ); ?> <?php if ( x_get_option( 'x_footer_bottom_display' ) == '1' ) : ?> <footer class="x-colophon bottom" role="contentinfo"> <div class="x-container max width"> <?php if ( x_get_option( 'x_footer_menu_display' ) == '1' ) : ?> <?php x_get_view( 'global', '_nav', 'footer' ); ?> <?php endif; ?> <?php if ( x_get_option( 'x_footer_social_display' ) == '1' ) : ?> <?php x_social_global(); ?> <?php endif; ?> <?php x_get_view( 'global', '_footer', 'widget-areas' ); ?> <?php if ( x_get_option( 'x_footer_content_display' ) == '1' ) : ?> <div class="x-colophon-content"> <?php echo do_shortcode( x_get_option( 'x_footer_content' ) ); ?> </div> <?php endif; ?> </div> </footer> <?php endif; ?> <?php x_get_view( 'global', '_footer' ); ?>Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1273761 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
