Tagged: x
-
AuthorPosts
-
October 28, 2016 at 1:10 pm #1235052
powrider686ParticipantHey there,
On my site, roadsidegal.wpengine.com, I’d like to change the footer content i.e. “Powered by Blend Web Marketing” from the top of the area to the bottom below the social icons and menu.How might I achieve that?
Thank you!
October 28, 2016 at 7:41 pm #1235381
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 go to /wp-content/themes/x/framework/views/ethos and copy the file wp-footer.php and place it in /wp-content/themes/x-child/framework/views/ethos/wp-footer.php and replace the code to:
<?php // ============================================================================= // VIEWS/ETHOS/WP-FOOTER.PHP // ----------------------------------------------------------------------------- // Footer output for Ethos. // ============================================================================= ?> <?php x_get_view( 'global', '_header', 'widget-areas' ); ?> <?php x_get_view( 'global', '_footer', 'scroll-top' ); ?> <?php x_get_view( 'global', '_footer', 'widget-areas' ); ?> <?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 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.
October 31, 2016 at 9:05 pm #1238632
powrider686ParticipantThat did the trick, thank you!
Another question about that: I’d like to make the spacing the same as the other items in the footer. How can I achieve that?
Thank you!
November 1, 2016 at 2:48 am #1238807
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> Global CSS :
.x-colophon-content { padding-top: 12px; }Hope that helps.
November 16, 2016 at 5:17 pm #1260091
powrider686ParticipantThat did the trick! Thank you!
November 16, 2016 at 7:53 pm #1260406
DarshanaModeratorGlad we were able to help 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1235052 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
