Tagged: x
-
AuthorPosts
-
October 5, 2016 at 11:02 pm #1204573
DraxionParticipantHi again,
I’m wondering, how would I go about doing the following:
1) center the footer menu
2) Move social icons below the menu (instead of the top)Thanks!
SOctober 5, 2016 at 11:02 pm #1204574
DraxionParticipantThis reply has been marked as private.October 5, 2016 at 11:24 pm #1204592
Prasant RaiModeratorHello There,
Thanks for writing in!
1) To center footer menu, you can add this under Custom > CSS in the Customizer:
ul#menu-main-2 { float: none !important; }2) To change footer social icon position will 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 that add following code in child theme function.php file:
<?php if ( x_get_option( 'x_footer_social_display' ) == 1 ) : ?> <?php x_social_global(); ?> <?php endif; ?>Let us know how it goes.
Thanks.
October 5, 2016 at 11:40 pm #1204606
DraxionParticipantThank you!
The CSS worked perfectly. So thank you again.
The code however, doesn’t seem to work or I’m doing something wrong… I’ve copied and pasted it into my x-child’s function.php file, but now the page won’t load. I can simply add that code straight to the file?
Any ideas? thanks
October 6, 2016 at 12:18 am #1204639
RupokMemberHi there,
It should work fine. However you can try to achieve this with CSS only. Let’s add this CSS :
.x-colophon.bottom .x-nav { float: none; margin-top: -70px; } .x-colophon.bottom .x-social-global { margin-top: 30px; }Let’s take off the PHP code from functions.php
Cheers!
October 6, 2016 at 12:30 am #1204652
DraxionParticipantPerfect… that worked. I like this solution better as it seems to be easier to adjust the spacing between the menu and social icons.
Thanks again!
SOctober 6, 2016 at 1:00 am #1204671
Rue NelModeratorYou’re welcome! We’re happy to help you out.
If you need anything else we can help you with, don’t hesitate to open another thread. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1204573 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
