Tagged: x
-
AuthorPosts
-
October 19, 2016 at 6:55 am #1222142
president75ParticipantHello,
I added social icons on my menu by following your instructions on the forum.
How do I move them at the end of the menu and transform social icons in [x_icon type = “facebook”] and not [x_icon type = “facebook-square”]
Thanks
October 19, 2016 at 6:56 am #1222144
president75ParticipantThis reply has been marked as private.October 19, 2016 at 9:09 am #1222296
JoaoModeratorHi There.
Please add the following code to Appereance > Customizer > Custom > CSS
@media (min-width: 1350px) { .masthead-inline .desktop .x-nav { float: none; padding-left: 25%; } } @media (min-width: 1060px) { .masthead-inline .desktop .x-nav { float: none; padding-left: 10%; } } @media (min-width: 969px) { .masthead-inline .desktop .x-nav { float: none; } }Hope it helps
Joao
October 19, 2016 at 2:47 pm #1222773
president75ParticipantHello,
I tried but I can not.
Can you help me to insert social icons as in this site:
Thank you
October 19, 2016 at 4:16 pm #1222872
JadeModeratorHi there,
Please try to follow the the suggestion on this thread https://community.theme.co/forums/topic/social-buttons-onin-the-navbar/#post-1037927
Hope this helps.
October 19, 2016 at 4:32 pm #1222893
president75ParticipantOk
Now the social icons are located as shown on the screenshot.
How do I get on the right of the menu and change the icons with normal ones “does not square” that is posted as the site for example before!?
October 19, 2016 at 10:04 pm #1223277
FriechModeratorHi There,
I believe you almost did it, but you just need to move your icon menu item to the bottom.
Here are the codes use on your menu
<i class="x-icon x-icon-facebook" data-x-icon="" ></i> <i class="x-icon x-icon-twitter" data-x-icon="" ></i> <i class="x-icon x-icon-google-plus" data-x-icon="" ></i>Hope it helps, Cheers!
October 20, 2016 at 7:10 am #1223773
president75ParticipantHello,
I had used this method:
https://community.theme.co/forums/topic/social-buttons-onin-the-navbar/ #post-1037927
This is because I do not like the social icons you see on the mobile version in less and no longer on the navbar.
I just wanted to know how to move icons created with the php code and put them at the end of the menu link.
I also wanted to change the icons with normal ones.
All this has been done here: http://www.surface85.com/
Thank you
October 20, 2016 at 11:39 am #1224127
JadeModeratorHi there,
Kindly update the code you got from https://community.theme.co/forums/topic/social-buttons-onin-the-navbar/ #post-1037927 to:
<?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> <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 class="navbar-social"><?php x_social_global(); ?></div> </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' ); ?> <div class="navbar-social"><?php x_social_global(); ?></div> <?php x_get_view( 'global', '_nav', 'primary' ); ?> </div> </div> </div> </div> <?php endif; ?>Then add this code in the customizer:
.x-social-global i { display: inline-block; padding: 0 5px; } .x-social-global i.x-icon-facebook-square:before { content: "\f09a"; } .x-social-global i.x-icon-twitter-square:before { content: "\f099"; } .x-social-global i.x-icon-google-plus-square:before { content: "\f0d5"; } nav.x-nav-wrap.desktop .x-nav { float: right; } .navbar-social { float: right; padding-top: 37px; }Hope this helps.
October 20, 2016 at 11:57 am #1224152
president75ParticipantPerfect.
Many thanks for the help
😉
October 20, 2016 at 12:14 pm #1224185
JadeModeratorYou’re most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1222142 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
