Home › Forums › Support › font awesome in secondary menu This topic has 7 replies, 2 voices, and was last updated 6 years ago by Leo. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts April 17, 2018 at 6:26 am #552629 Rafik Hello everybody when I writing the code in CSS Aditional i.fa.fa-twitter-square { color: #00ace2; font-size:20px!important; margin-right:500px; } no change in margin ??? April 17, 2018 at 9:37 am #552905 LeoStaff Customer Support Hi there, Can you link me to the site in question? You can edit the original topic and use the private URL field. Let me know 🙂 April 17, 2018 at 2:15 pm #553166 Rafik I add you my website .. I need move twitter icon to right? April 17, 2018 at 4:31 pm #553239 LeoStaff Customer Support Hmm I’m only seeing 3 flags in the secondary navigation and no Twitter icon. Let me know. April 18, 2018 at 1:31 am #553492 Rafik I’m sorry just for Arabic flag you can see this problem and when you put the mouse on twitter icon you can see how to try margin this icon but not move best regards April 18, 2018 at 8:41 am #553876 LeoStaff Customer Support Hmm remove the CSS you are using, add the menu-item-float-right class as suggested here: https://docs.generatepress.com/article/adding-icons-to-menu-items/#floating-the-icon-to-the-right Then add this CSS: body .main=navigation .sf-menu>li.menu-item-float-right { float: left!important; } April 19, 2018 at 2:37 am #554537 Rafik thank you for responding me After a lot of attempts, this code worked with me is this right or there is better? .secondary-navigation .main-nav ul li.menu-item-float-right { float: left!important; margin-left:1200px; } April 19, 2018 at 9:20 am #554914 LeoStaff Customer Support Looks good. Wrapping that with media query should be better: @media (min-width: 769px) { .secondary-navigation .main-nav ul li.menu-item-float-right { float: left!important; margin-left:1200px; } } Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In